On 08/03/15 15:56, w0rp wrote:
So if you want something to work as of right now, do that.
I realize that. What I'm saying is that this is unacceptable. This violates D's own standard.
From http://dlang.org/exception-safe.html:
The RAII (Resource Acquisition Is Initialization) idiom and the try-finally statement form the backbone of the traditional approaches to writing exception safe programming.
Except RAII doesn't work. I won't repeat the reasons, but this behavior and RAII simply cannot exist in the same language.
Shachar