[Issue 19656] New: D compiler fails to resolve circular module dependency when modules are compiled separately
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Feb 6 13:45:21 UTC 2019
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 at puremagic.com
Reporter: puneet at 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
--
More information about the Digitalmars-d-bugs
mailing list