www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19750] New: [Reg v2.070.2] DMD fails with some circular

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

          Issue ID: 19750
           Summary: [Reg v2.070.2] DMD fails with some circular module
                    refs with Template/Mixin instances
           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 1737
  --> https://issues.dlang.org/attachment.cgi?id=1737&action=edit
Reduced test for circular refs with Mixin instances

$ dmd -c foo.d
qux.d(3): Error: function void qux.Qux.thunk() does not override any function,
did you mean to override void thud.Thud.thunk()?
thud.d(4): Error: template instance `thud.Mix!()` error instantiating

Works with v2.070.2

--
Mar 18 2019