[Issue 22128] opApply delegate can escape scope without duly invoking GC allocation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 21 08:48:20 UTC 2022


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

--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> ---
If `scope` is added just before `int delegate`, the `_dlg = dlg;` will be
diagnosed as an error.

--


More information about the Digitalmars-d-bugs mailing list