http://d.puremagic.com/issues/show_bug.cgi?id=9971
Summary: eponymous function is not an lvalue
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Ellery Newcomer <[email protected]> 2013-04-20
15:56:31 PDT ---
the code:
void main() {
goo!()();
}
void goo()() {
auto g = &goo; // not ok
}
void goo2() {
auto g = &goo2; // ok
}
the fireworks:
Error: goo()() is not an lvalue
dmd 2.063-devel.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------