https://issues.dlang.org/show_bug.cgi?id=2807
Andrei Alexandrescu changed:
What|Removed |Added
Version|2.027 |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=2807
Don changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://d.puremagic.com/issues/show_bug.cgi?id=2807
--- Comment #2 from clugd...@yahoo.com.au 2009-04-22 15:09 ---
Created an attachment (id=335)
--> (http://d.puremagic.com/issues/attachment.cgi?id=335&action=view)
Patch against 2.029. Includes patch for the related bug 2695, as well
http://d.puremagic.com/issues/show_bug.cgi?id=2807
--- Comment #1 from clugd...@yahoo.com.au 2009-04-22 15:07 ---
And here's a patch. This makes it safe to have nested pure functions.
A nested pure function is only permitted to access its own variables, plus
immutables and manifest co