digitalmars.D.bugs - [Issue 18689] New: std.format should always throw FormatException on
- d-bugmail puremagic.com (21/21) Mar 28 2018 https://issues.dlang.org/show_bug.cgi?id=18689
https://issues.dlang.org/show_bug.cgi?id=18689 Issue ID: 18689 Summary: std.format should always throw FormatException on bad specs/arguments Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: phobos Assignee: nobody puremagic.com Reporter: jack jackstouffer.com void main() { import std.exception : assertThrown; import std.format : format, FormatException; assertThrown!FormatException(format("%d", "foo")); // fails } --
Mar 28 2018