[Issue 7510] implicit conversion to immutable fails for pure delegates and function pointers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 26 21:57:28 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=7510
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |yebblies at gmail.com
Resolution| |INVALID
--- Comment #1 from yebblies <yebblies at gmail.com> 2013-11-27 16:57:22 EST ---
As delegates/nested functions, they are not strongly pure and can access
mutable data in the enclosing function. It works if they are made static.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list