Summary: Poor error message for derived class without
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: DMD

--- Comment #0 from Don <> 2012-11-01 05:09:18 PDT ---
class X {
   this(int n) {}

class Y : X { }

qef.d(5): Error: constructor qef.Y.this no match for implicit super() call in
But Y doesn't have a constructor!

Seems the compiler generates an implicit constructor, and then complains that
it's erroneous.

Actually I'm not sure why it doesn't generate this(int n) { super(n); }, but
that's a different issue.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to