module m1; alias int Foo; module m2; import m1 : Foo; module m; import m1; import m2; Foo bar = 42; m.d(5): Error: m1.Foo at m1.d(3) conflicts with m2.Foo at m2.d(2)
Works in 2.060head. This bug is fixed by the commit: https://github.com/D-Programming-Language/dmd/commit/2a3db5d7afd0c26e8a0ec58ff6fb6a8cd9647de6