[Issue 5450] no match for implicit super() call in constructor

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jan 13 09:51:29 PST 2011


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



--- Comment #2 from Trass3r <mrmocool at gmx.de> 2011-01-13 09:49:40 PST ---
(In reply to comment #1)
> 
> class Foo
> {
>     this(float f) {}
> }
> 
> class Bar : Foo
> {
> }
> 
> -> foo.d(7): Error: constructor foo.Bar.this no match for implicit super() call
> in constructor
> 
> Actually it shouldn't insert an implicit this() unless the base class has a
> this(). Instead, it should complain that Bar needs a constructor, because Foo
> has one.

Then this bug report's focus should move to your example I think.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list