[Issue 13995] Alias type stringof decay to alias type stringof

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Jan 17 14:19:02 PST 2015


https://issues.dlang.org/show_bug.cgi?id=13995

--- Comment #2 from deadalnix <deadalnix at gmail.com> ---
(In reply to Walter Bright from comment #1)
> Please have a compilable example.

alias T = int;

void main() {
  writeln(T.stringof);
}

Here you go. This should print T, not int.

--


More information about the Digitalmars-d-bugs mailing list