Let's get the semantic around closure fixed.
Ola Fosheim Grostad
ola.fosheim.grostad at gmail.com
Tue May 18 18:26:49 UTC 2021
On Tuesday, 18 May 2021 at 16:47:03 UTC, deadalnix wrote:
> Long story short: https://issues.dlang.org/show_bug.cgi?id=21929
>
> Closure do not respect scope the way they should. Let's fix it.
Btw, javascript is irrelevant. "var" always binds names to the
outmost scope at the beginning of the function, where it appears
in the text is only to be more reader friendly.
More information about the Digitalmars-d
mailing list