http://d.puremagic.com/issues/show_bug.cgi?id=3922
kenn...@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kenn...@gmail.com Platform|x86 |All Version|2.041 |D2 OS/Version|Windows |All --- Comment #4 from kenn...@gmail.com 2011-06-08 11:11:04 PDT --- The error seems to be that, in a 'void' function, the statement return expr; is rewritten to { expr; return; } so e.g. the following should-be-wrong (?) code int a() { return 4; } void b() { return a(); } will compile successfully. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------