compiling the following code produces "multiple constructor calls" error:
class A {
this () {}
}
class B : A {
this () {
static if (__traits(compiles, super())) super();
}
}
`compiles` trait should not either set or check `parent constructor called` flag.
Comment #1 by ketmar — 2015-12-09T08:34:57Z
p.s. or, maybe, it should only check that flag, but never change.
Comment #2 by bitter.taste — 2017-01-17T15:36:06Z
*** Issue 16468 has been marked as a duplicate of this issue. ***