digitalmars.D.bugs - [Issue 16711] New: unittest writefln
- via Digitalmars-d-bugs (28/28) Nov 22 2016 https://issues.dlang.org/show_bug.cgi?id=16711
https://issues.dlang.org/show_bug.cgi?id=16711 Issue ID: 16711 Summary: unittest writefln Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: visuald Assignee: nobody puremagic.com Reporter: liangwen msn.com if unittest and use writefln("%s",123),get the wrong First-chance exception: std.format.FormatException Unterminated format specifier: "%" at C:\D\dmd2\windows\bin\..\..\src\phobos\std\format.d(829) win7 vs2015 visuald 0.3.34 dmd-2.072.0 import std.stdio; unittest { assert(1==1); } int main(string[] argv) { writefln("%s",123); return 0; } --
Nov 22 2016