[Issue 13814] renamed selective import (alias) don't work with eponymous template

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Dec 3 16:30:51 PST 2014


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

--- Comment #1 from Martin Nowak <code at dawg.eu> ---
Selective imports that aren't renamed don't work either.

cat > bug.d << CODE
template format()
{
    import std.string : format;
}

void test()
{
    format("");
}
CODE

dmd -c bug.d

--


More information about the Digitalmars-d-bugs mailing list