[Issue 19746] New: DMD fails to compile some circular dependencies spiced with is (T == super) condition

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 16 18:41:11 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19746

          Issue ID: 19746
           Summary: DMD fails to compile some circular dependencies spiced
                    with is (T == super) condition
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: puneet at coverify.org

Created attachment 1736
  --> https://issues.dlang.org/attachment.cgi?id=1736&action=edit
Test code

With version 2.085.0

$ dmd -c foo.d 

Gives

thud.d(4): Error: function void thud.Dap!int.Dap.thunk() does not override any
function, did you mean to override void foo.Foo.thunk()?
thud.d(7): Error: template instance `thud.Dap!int` error instantiating

Compiles well with version 2.074.1

--


More information about the Digitalmars-d-bugs mailing list