[Issue 24830] separate compilation + circular deps + templated opCmp = missing symbols
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 23 15:44:09 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=24830
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@yanok updated dlang/dmd pull request #17022 "dsymbolsem/InstMemberWalker: also
visit generated structs' members" fixing this issue:
- dsymbolsem/InstMemberWalker: also visit generated structs' members
While updating children's `minst` only going over `members` is not
enough: structs may also have generated methods that are not in
`members`.
As a result, if a generated method instantiates a template, it gets a
poentially wrong `minst`, so can be omitted from the compilation result.
Fixes Bugzilla Issue 24830.
https://github.com/dlang/dmd/pull/17022
--
More information about the Digitalmars-d-bugs
mailing list