[Issue 16193] opApply() doesn't heap allocate closure

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Sep 15 05:29:02 PDT 2016


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

--- Comment #8 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Walter Bright from comment #7)
> Also, this was not a regression.

I distinctly remember at some point in the last 10 years that you HAD to mark
opApply scope or it would allocate a closure. How is this not a regression?

It's not terribly important if it gets fixed now, but I'm just surprised if
this has always been the behavior.

--


More information about the Digitalmars-d-bugs mailing list