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

Denis Shelomovskij <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|regression                  |normal

--- Comment #2 from Denis Shelomovskij <[email protected]> ---
(In reply to Walter Bright from comment #1)
> This is deliberate. The reason is to not break existing code. People
> shouldn't have to go back and annotate code with 'nothrow' that was already
> working.

But this code isn't "working". It's wrong and is a source of heisenbugs like
every other code throwing exceptions across language boundaries. I see no
excuse to have incorrect C library bindings and thus force D users to pay
on-going cost of fixing heisenbugs because of it.

And yes, it isn't a regression.

--

Reply via email to