[Issue 5050] New: No way to declare delegates with ref return
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 13 11:49:27 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5050
Summary: No way to declare delegates with ref return
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: simen.kjaras at gmail.com
--- Comment #0 from Simen Kjaeraas <simen.kjaras at gmail.com> 2010-10-13 11:48:54 PDT ---
ref int delegate( ref int ) r = ( ref int a ) { return a; };
The above gives "found 'ref' instead of statement"
--
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