---
struct A
{
int a;
this(int)
{
if(__ctfe)this(0,0); //Error: one path skips constructor
else a=0;
}
this(int,int){ a=1; }
}
---
Is this supposed to not compile?
- one path skips constructor Kagamin via Digitalmars-d-learn
- Re: one path skips constructor Johan Engelen via Digitalmars-d-learn
