[Issue 18432] alias x = x where x is an imported symbol should result in an error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 13 11:22:58 UTC 2018


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

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Actually,

import std.stdio : writeln;
alias writeln = std.stdio.writeln;

Does not compile successfully, it issues an error : "Undefined identifier
std.stdio.writeln".

--


More information about the Digitalmars-d-bugs mailing list