Am Tue, 19 Nov 2013 04:00:56 +1100 schrieb "Daniel Murphy" <[email protected]>:
> "Andrei Alexandrescu" <[email protected]> wrote in message > news:[email protected]... > > > > Currently it looks like the presence of scope(failure) simply makes the > > function seem legit, no matter what. > > > > void fun() nothrow > > { > > scope(failure) {} > > throw new Exception("so sue me"); > > } > > > > Yes, obviously a bug. The compiler is missing the rethrow. That's severe. It's not even a rethrow, but an independent throw statement sitting squarely in a nothrow function. -- Marco
