Bug 2401 – [module] type definition conflicts with itself imported through different module

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2008-10-08T14:49:00Z
Last change time
2015-06-09T01:20:16Z
Keywords
rejects-valid
Assigned to
nobody
Creator
2korden

Comments

Comment #0 by 2korden — 2008-10-08T14:49:57Z
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)
Comment #1 by k.hara.pg — 2012-06-07T05:48:51Z