digitalmars.D.bugs - [Issue 13803] New: Improve pretty-print result for the wstring an
- via Digitalmars-d-bugs (33/33) Dec 01 2014 https://issues.dlang.org/show_bug.cgi?id=13803
https://issues.dlang.org/show_bug.cgi?id=13803 Issue ID: 13803 Summary: Improve pretty-print result for the wstring an dstring types Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: diagnostic Severity: enhancement Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: k.hara.pg gmail.com The wrong program: void main() { string s = 1; wstring ws = 1; wstring ds = 1; } currently prints following the error messages: Error: cannot implicitly convert expression (1) of type int to string Error: cannot implicitly convert expression (1) of type int to immutable(wchar)[] Error: cannot implicitly convert expression (1) of type int to immutable(wchar)[] The diagnostic can be improved to: Error: cannot implicitly convert expression (1) of type int to string Error: cannot implicitly convert expression (1) of type int to wstring Error: cannot implicitly convert expression (1) of type int to dstring --
Dec 01 2014