[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
Thu Nov 14 20:34:09 UTC 2024


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

Juraj <zero at vec4.xyz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zero at vec4.xyz

--- Comment #14 from Juraj <zero at vec4.xyz> ---
Created attachment 1923
  --> https://issues.dlang.org/attachment.cgi?id=1923&action=edit
Very crude patch, just to pin point the relevant code path.

I made a whack a mole (literally) attempt on this issue.

The code works on the provided code and closure tests in dmd "test suite" (to
best of my knowledge how to run them).

I think it is very fragile, and never got to do much more with it, but better
to let it rot here than on my drive.

--


More information about the Digitalmars-d-bugs mailing list