[Issue 24838] A closure with a layout of pointer size or below that is not modified, should not have a closure
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 11 03:33:47 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24838
--- Comment #12 from Richard (Rikki) Andrew Cattermole <alphaglosined at gmail.com> ---
I renamed it to translate it into compiler speak.
The ``@nogc`` aspect has nothing to do with the enhancement.
As for ldc/gdc, yes it is a them problem.
Closure creation is part of the glue code, not the frontend itself.
https://github.com/dlang/dmd/blob/b70e66033c7f53b3ac7def31e49d803ff87d6d30/compiler/src/dmd/toir.d#L779
--
More information about the Digitalmars-d-bugs
mailing list