[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
Wed Nov 20 15:07:12 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=23722
--- Comment #6 from kinke <kinke at gmx.net> ---
(In reply to ilya.yanok from comment #5)
> (In reply to kinke from comment #1)
> > visibility for these function literals, as they are codegen'd into each
> > referencing object file (well, at least with LDC).
>
> Interesting, then the second issue doesn't exist with LDC and we just need
> the PR to get merged.
Yes, I fixed the first issue (different lambdas getting the same mangle and
incorrectly being folded at link-time) in LDC v1.33:
https://github.com/ldc-developers/ldc/pull/4415
--
More information about the Digitalmars-d-bugs
mailing list