http://d.puremagic.com/issues/show_bug.cgi?id=3478
Summary: "no effect in expression" error on return to void
Product: D
Version: 1.051
Platform: Other
OS/Version: Linux
Status: NEW
Severity: regression
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Moritz Warning <[email protected]> 2009-11-05 16:26:18
PST ---
void foo() { return 0; }
this code gives
main.d(24): Error: long has no effect in expression (0)
iirc, it should be valid.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------