[Issue 252] -w and switch returns = bogus "no return at end of function" warning

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 11 18:04:28 PST 2007


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


smjg at iname.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com
            Summary|-w and switch returns =     |-w and switch returns =
                   |compile errors              |bogus "no return at end of
                   |                            |function" warning




------- Comment #1 from smjg at iname.com  2007-02-11 20:04 -------
Probably part of the same bug: If you add a statement after the switch, it
fails to report "statement is not reachable".


-- 



More information about the Digitalmars-d-bugs mailing list