[Issue 23722] Lambdas are mangled incorrectly when using multiple compilation units, resulting in incorrect code
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 5 15:18:57 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=23722
kinke <kinke at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
CC| |kinke at gmx.net
--- Comment #1 from kinke <kinke at gmx.net> ---
Bumping priority to P1, this is a horrible bug. I'm not sure whether the lambda
mangles can be really made unique & stable even with separate compilation, but
we could probably enforce a C-style `static` object-file visibility for these
function literals, as they are codegen'd into each referencing object file
(well, at least with LDC).
--
More information about the Digitalmars-d-bugs
mailing list