[Issue 11051] Unmatched case in a final switch should throw in both release and non-release mode

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 16 07:56:33 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11051



--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-09-16 07:56:31 PDT ---
(In reply to comment #3)
> This seems good to me.

No, returning garbage is not good. At the very least I expect a HALT
instruction after the final switch for code which should not reach that point.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list