[Issue 5399] Return the result of a nonvoid function in a void function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 1 23:35:24 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5399
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla at digitalmars.com
Resolution| |INVALID
--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> 2011-01-01 23:33:12 PST ---
It is not a dangerous corner case, it is a deliberate design choice. It is
meant to facilitate writing generic code so that the same code can be generated
for void and non-void return values.
--
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