[Issue 2136] New: typeof(super(...)) counted as a constructor call
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jun 1 22:17:57 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2136
Summary: typeof(super(...)) counted as a constructor call
Product: D
Version: 1.030
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: shro8822 at vandals.uidaho.edu
class B { this(bool b, char[] c){} }
class C : B
{
this()
{
alias typeof(super(false,"hello")) foo;
super(false,"hello"); //line (8)
}
}
(8) Error: multiple constructor calls
--
More information about the Digitalmars-d-bugs
mailing list