Lazy and GC Allocations

Etienne etcimon at gmail.com
Mon Feb 20 18:50:51 UTC 2023


On Monday, 20 February 2023 at 02:50:20 UTC, Steven Schveighoffer 
wrote:
> See Adam's bug report: 
> https://issues.dlang.org/show_bug.cgi?id=23627
>
> -Steve

So, according to this bug report, the implementation is 
allocating a closure on the GC even though the spec says it 
shouldn't?

I've been writing some betterC and the lazy parameter was 
prohibited because it allocates on the GC, so I'm wondering what 
the situation is currently

Etienne


More information about the Digitalmars-d-learn mailing list