https://issues.dlang.org/show_bug.cgi?id=21539
Walter Bright <bugzi...@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzi...@digitalmars.com --- Comment #1 from Walter Bright <bugzi...@digitalmars.com> --- This gets a little curiouser: extern (C++, Nspace) { enum Sid = 3; } mixin template T() { alias A = .Sid; // ok as expected alias B = Nspace.Sid; // ok as expected import std.stdio; alias X = .File; // fails } mixin T; as the looking up of a member of Nspace should follow exactly the same rules as looking up a name in a module. --