https://issues.dlang.org/show_bug.cgi?id=22051
Basile-z <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #1 from Basile-z <[email protected]> --- The specifier is only checked if you pass it has a template value parameter, like this: --- import std.stdio; void main (){ bool myvar = true; writefln!"Bool: % "(myvar); } --- otherwise a run-time error is the only way to get it checked. The string literal gives the impression that it is verifiable it could very well be something build from random sources. --
