Commit graph

1 commit

Author SHA1 Message Date
Nick Treleaven
49771d7068
Fix issue 11051 - Unmatched case in a final switch should throw in both release and non-release mode (#14841)
* Fix issue 11051

Keep a HALT instruction in a final switch statement if
the function is @safe and -release mode is enabled.

* @system -release test should also be non-zero

* don't suppress test errors

* Remove unreported error line

* Disable core dumps

Co-authored-by: Andrej Mitrovic <andrej.mitrovich@gmail.com>
2023-01-24 12:48:00 +02:00