[Issue 2043] Closure outer variables in nested blocks are not allocated/instantiated correctly: should have multiple instances but only have one.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 24 11:33:18 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=2043
Adam D. Ruppe <destructionator at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |destructionator at gmail.com
--- Comment #43 from Adam D. Ruppe <destructionator at gmail.com> ---
> test.d(13): Error: reference to local variable `b` assigned to non-scope parameter `_param_0`
This error is on the *writeln* line, not the actual capture line. It has
absolutely nothing to do with the actual bug.
--
More information about the Digitalmars-d-bugs
mailing list