On 2017-01-19 15:29, Jack Stouffer wrote:If this is the case, would it not make sense to make it illegal to catchErrors in @safe code?There's the issue with AssertError, which is useful for a unit test framework to catch. Perhaps it could throw an AssertException instead when the "unittest" flag is passed.
Just slap @trusted on the part of the framework that catches them. Atila