Bug 2136 – typeof(super(...)) counted as a constructor call

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
All
Creation time
2008-06-02T00:17:00Z
Last change time
2014-02-24T15:33:50Z
Assigned to
bugzilla
Creator
shro8822

Comments

Comment #0 by shro8822 — 2008-06-02T00:17:55Z
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
Comment #1 by bugzilla — 2008-06-22T18:58:23Z
Fixed dmd 1.031 and 2.015