http://d.puremagic.com/issues/show_bug.cgi?id=7675
--- Comment #7 from Lukasz Wrzosek 2013-05-24 05:50:11
PDT ---
I know that already, but why it was written like that?
It would be useful to have this kind of error thrown at compile time, wouldn't
it"
--
Configure issuemail: http://d.puremag
http://d.puremagic.com/issues/show_bug.cgi?id=7675
--- Comment #6 from Andrej Mitrovic 2013-05-22
14:39:28 PDT ---
(In reply to comment #5)
> Why this sample compiles fine if it always throws an exception ?
Because the string argument is passed at runtime.
--
Configure issuemail: http://d.p
http://d.puremagic.com/issues/show_bug.cgi?id=7675
Lukasz Wrzosek changed:
What|Removed |Added
CC||luk.wrzo...@gmail.com
--- Comment #5
http://d.puremagic.com/issues/show_bug.cgi?id=7675
Andrej Mitrovic changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=7675
--- Comment #3 from Andrej Mitrovic 2012-05-26
12:42:38 PDT ---
(In reply to comment #2)
> Andrei wants formatted printing to be sloppy, so currently this doesn't raise
> an error..
Right, but the OP code does raise an exception except it giv
http://d.puremagic.com/issues/show_bug.cgi?id=7675
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=7675
--- Comment #1 from Andrej Mitrovic 2012-05-26
09:54:34 PDT ---
If anyone else is annoyed by this you can use a workaround like this:
/** Workaround for Issue 7675 - std.format needs better exception messages */
string safeFmt(string file