[Issue 23923] `this` not captured by lazy expression

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 23 06:56:32 UTC 2024


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
Lazy functions are implemented as delegates, so to investigate this, redo the
lazy function as an explicit delegate. If the behavior is correct, then the fix
is to figure out where lazy function checking diverges from delegate checking.

--


More information about the Digitalmars-d-bugs mailing list