[Issue 9748] Wrong scope of templated nested functions in static foreach

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Oct 16 12:22:56 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=9748

--- Comment #4 from Mathias LANG <pro.mathias.lang at gmail.com> ---
Thank you Walter.
As mentioned in my email, solving this will require some change in the mangling
scheme to support declarations in different nested scope.
In addition, if we allow this as valid code, we should relax the limitation
exhibited by #4894 [1]. Would you agree to it ?
This needs support from the backend, as the mangling will change to take nested
scope into account.

[1] https://issues.dlang.org/show_bug.cgi?id=4894
Possibly related bugs: https://issues.dlang.org/show_bug.cgi?id=10619

--


More information about the Digitalmars-d-bugs mailing list