Currently (2.058 Git), the following snippet triggers a generic enforce() exception without any further information: --- import std.stdio; void main() { int a; writefln("%d", &a); } --- A FormatException with a helpful message should be thrown instead.
https://github.com/D-Programming-Language/phobos/pull/427
https://github.com/D-Programming-Language/phobos/commit/79a270978ec5b225b01669c2bd0af9a75f2e58cb
Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/ec31c04665731b99f1663ff9fbd94c52b5184395 Update changelog for issue 7480