http://d.puremagic.com/issues/show_bug.cgi?id=4277



--- Comment #7 from nfx...@gmail.com 2010-06-28 20:38:23 PDT ---
You're creating a delegate of a nested function, and then return it. This is
not allowed in D1. It's like writing "int* foo() { int x; return x; }" and then
expecting the returned value is valid.

Returning delegates to nested functions is allowed in D2, though.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to