On Thursday, 29 March 2018 at 09:45:04 UTC, Shachar Shemesh wrote:

Not so long as destructors don't reliably run.

$ rdmd test.d
A(1) constructed
A(2) constructed
A(1) destructed
Caught: Constructor failed

https://issues.dlang.org/show_bug.cgi?id=14246

Good catch. This is a variant of bug reported 5 years ago. The funny part of this bug is that the fix was reverted ... because of excessive code breakage.

I like D pretty much and wish to use it in serious code, but I cannot tolerate such sort of things.

Reply via email to