digitalmars.D.bugs - [Issue 19656] New: D compiler fails to resolve circular module
- d-bugmail puremagic.com (26/26) Feb 06 2019 https://issues.dlang.org/show_bug.cgi?id=19656
https://issues.dlang.org/show_bug.cgi?id=19656 Issue ID: 19656 Summary: D compiler fails to resolve circular module dependency when modules are compiled separately Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: blocker Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: puneet coverify.org Created attachment 1730 --> https://issues.dlang.org/attachment.cgi?id=1730&action=edit Tar Gzipped code Tar gzipped file is attached. To reproduce the bug, untar and compile foo.d. Note that when all files/modules are compiled together, the compiler does not give any error. This is what I get: $ dmd -c foo.d fred.d(4): Error: function void fred.qux!(bar).qux.thunk() does not override any function, did you mean to override void foo.foo.thunk()? fred.d(7): Error: template instance `fred.qux!(bar)` error instantiating --
Feb 06 2019