[Issue 1931] dmd flow analysis error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 24 00:20:18 PDT 2008


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





------- Comment #5 from davidl at 126.com  2008-04-24 02:20 -------
I really thought it were working :D

I think I realize the problem now.

sometimes people would intend to have a func without an extra return statement
when all paths return. Barking with an error makes people frustrated.

I hope if there's a way to specify this by some func qualifier.
like:
__built_in_no_return_check
it shouldn't look clean.. if people really want the func to have that return
statement optimized.


-- 



More information about the Digitalmars-d-bugs mailing list