https://issues.dlang.org/show_bug.cgi?id=3478
Walter Bright changed:
What|Removed |Added
Version|1.051 |D1
--
http://d.puremagic.com/issues/show_bug.cgi?id=3478
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=3478
--- Comment #5 from Walter Bright 2009-11-30
02:31:19 PST ---
I'll change the spec to say that it's illegal to have a void return expression
with no side effects.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
http://d.puremagic.com/issues/show_bug.cgi?id=3478
Don changed:
What|Removed |Added
CC||clugd...@yahoo.com.au
--- Comment #4 from Don 2
http://d.puremagic.com/issues/show_bug.cgi?id=3478
--- Comment #2 from Moritz Warning 2009-11-05 19:21:30
PST ---
You should change the spec in this case:
http://www.digitalmars.com/d/1.0/statement.html
"Expression is allowed even if the function specifies a void return type. The
Expression
http://d.puremagic.com/issues/show_bug.cgi?id=3478
--- Comment #3 from Moritz Warning 2009-11-05 19:23:17
PST ---
fwiw, the new behavior makes sense to me.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
http://d.puremagic.com/issues/show_bug.cgi?id=3478
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #