digitalmars.D.bugs - [Bug 32] New: missing return value and no compile error
- d-bugmail puremagic.com (19/19) Mar 10 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=32
- d-bugmail puremagic.com (10/10) Mar 10 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=32
http://d.puremagic.com/bugzilla/show_bug.cgi?id=32 Summary: missing return value and no compile error Product: D Version: 0.149 Platform: PC OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: DMD AssignedTo: braddr puremagic.com ReportedBy: benoit tionex.de Compiles without error. int f() { } void main() { f(); } --
Mar 10 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=32 bugzilla digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID This is by design, not a bug. There have been some looong threads arguing about this. Note that it gets a runtime error if it is executed. --
Mar 10 2006