www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19746] New: DMD fails to compile some circular dependencies


          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 puremagic.com
          Reporter: puneet 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 


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

Mar 16 2019