[Issue 1841] Closure detection doesn't work when variable is used in a nested function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 27 11:34:17 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=1841
--- Comment #8 from github-bugzilla at puremagic.com 2013-01-27 11:34:12 PST ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/e5de59d30026fa5267541a928d67af1e8c06f922
Fix issue 1841 Closure detection fails in nested functions
If an escaping function doesn't use any closure variables, but
calls another nested function which does, it must be marked as
needing a closure. This 'calling a sibling' case was missing.
--
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