Bug 9951 – DMD segfaults on indirect selective circular import

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-04-17T14:54:00Z
Last change time
2015-06-09T05:14:52Z
Keywords
ice
Assigned to
nobody
Creator
bus_dbugzilla

Comments

Comment #0 by bus_dbugzilla — 2013-04-17T14:54:40Z
a.d: ----------- import b; import foo; ----------- b.d: ----------- import a : func; ----------- foo.d: ----------- void func(){} ----------- $ dmd a.d Segmentation fault
Comment #1 by maxim — 2013-04-17T21:52:16Z
From git-head: b.d(1): Error: b.func at b.d(1) conflicts with foo.func at foo.d(1) b.d(1): Error: alias b.func cannot resolve
Comment #2 by k.hara.pg — 2013-05-09T02:20:18Z
*** This issue has been marked as a duplicate of issue 9865 ***