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

          Issue ID: 18886
           Summary: Explicitly invoking super.__ctor in a constructor does
                    not count as calling a super constructor
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: goober...@gmail.com

Example code at https://run.dlang.io/is/Is9tAs

A workaround is to define a default constructor, as per
https://run.dlang.io/is/mhM24Y

But this is just doubling up on work that I shouldn't need to do.

Came about because I was trying to explicitly invoke a templated constructor in
a base class. Simple example at https://run.dlang.io/is/XAsoyo

--

Reply via email to