January 27, 2013 [dmd-internals] [D-Programming-Language/dmd] e5de59: Fix issue 1841 Closure detection fails in nested f... | ||||
---|---|---|---|---|
| ||||
Attachments:
| Branch: refs/heads/master Home: https://github.com/D-Programming-Language/dmd Commit: e5de59d30026fa5267541a928d67af1e8c06f922 https://github.com/D-Programming-Language/dmd/commit/e5de59d30026fa5267541a928d67af1e8c06f922 Author: Don Clugston <emailsdontbelong@inarepository.com> Date: 2013-01-26 (Sat, 26 Jan 2013) Changed paths: M src/declaration.h M src/func.c M test/runnable/closure.d Log Message: ----------- 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. Commit: 9ffbf889565f1c49d7d58b828d0ab134fae4c08a https://github.com/D-Programming-Language/dmd/commit/9ffbf889565f1c49d7d58b828d0ab134fae4c08a Author: Walter Bright <walter@walterbright.com> Date: 2013-01-27 (Sun, 27 Jan 2013) Changed paths: M src/declaration.h M src/func.c M test/runnable/closure.d Log Message: ----------- Merge pull request #1554 from donc/closure1841 1841 Closure detection fails in nested functions Compare: https://github.com/D-Programming-Language/dmd/compare/c210663497a4...9ffbf889565f |
Copyright © 1999-2021 by the D Language Foundation