On Thursday, 14 January 2016 at 16:32:38 UTC, H. S. Teoh wrote:
On Thu, Jan 14, 2016 at 11:09:29AM -0500, Andrei Alexandrescu
via Digitalmars-d wrote: [...]
Yes, this needs to be fixed. -- Andrei
This issue has been known for a long time:
https://issues.dlang.org/show_bug.cgi?id=10378
Kenji even has a PR for it.
My favorite blatant demonstration of its nastiness:
import std.stdio;
void func(string text) {
import std.conv;
writeln(text);
}
void main() {
func("Hello world");
}
Program output: (blank)
T
Wow, can't believe his PR has been sitting unreviewed for 5
months:
https://github.com/D-Programming-Language/dmd/pull/4915