[Issue 14878] destructor of lambda parameter not included in speculative @safe check
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Aug 7 02:15:19 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14878
--- Comment #3 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/901908ec7f38b1d9b6a7d291bbb858f60c12f0cb
remove workaround for invalid bug 14878
- have to use `(T t) @safe {}`
- turns out that T in `(T) @safe {}` is the parameter
name of a polymorphic lambda not the parameter type
of a function literal
https://github.com/D-Programming-Language/phobos/commit/950c5519b48ecadd85840bd5de719d12b43b5fb0
Merge pull request #3532 from MartinNowak/fixup3527
remove workaround for invalid bug 14878
--
More information about the Digitalmars-d-bugs
mailing list