http://d.puremagic.com/issues/show_bug.cgi?id=1039


unkn...@simplemachines.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |unkn...@simplemachines.org
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Comment #2 from unkn...@simplemachines.org  2009-03-29 23:54 -------
This appears to be resolved in (or earlier than) DMD 1.041 and 2.026.

It now shows this error message and exits properly:
module2.d(12): constructor module1.SecondClass.this () does not match parameter
types (FirstClass)
module2.d(12): Error: expected 0 arguments, not 1
module1.d(8): constructor module1.SecondClass.this no match for implicit
super() call in constructor

It compiles fine if I add an explicit constructor to SecondClass calling
super(), which I assume is a covariance issue.  If that is a bug it should be
filed separately.

-[Unknown]


-- 

Reply via email to