On Tuesday, 10 February 2026 at 13:23:43 UTC, Brother Bill wrote:
On Tuesday, 10 February 2026 at 12:50:16 UTC, monkyyy wrote:
```d
import std;
struct foo{
        int i,j;
        this(int a, int b){
                j=a;
                i=b;
        }
}
unittest{
        auto bar=foo(1,2);
        bar=foo(3);
}
```

If you remove this(int a, int b), it will also fail to compile.

no

Reply via email to