[Issue 24096] a pure function is in fact impure for local automatic external variables

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 22 01:43:47 UTC 2023


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

--- Comment #4 from andreiD at yopmail.com ---
Shouldn't in the delegate, we capture the variable of the function itself where
the delegate is called, and not an external variable outside the function!

--


More information about the Digitalmars-d-bugs mailing list