[Issue 23835] Accessing variable outside nested function creates delegate even if it is static

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 12 12:57:48 UTC 2023


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

--- Comment #2 from Richard Cattermole <alphaglosined at gmail.com> ---
Yeah I went with ``typeof(builder).perform;`` since the real thing is templated
non-trivially.

Not ideal for example code though (which is what triggered this).

--


More information about the Digitalmars-d-bugs mailing list