https://issues.dlang.org/show_bug.cgi?id=17226
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #6 from [email protected] --- Just use compile-time format string checking: assert(myAssumption, format!"%s doesn't work!"(blah)); This produces a compile error: string s = format!"blah %d blah"(123.45); Problem solved. --
