dmd/compiler
Martin Kinkelin 1e822de3ff Fix overzealous assert in TemplateInstance.appendToModuleMember()
This assert is hit when compiling a private codebase. I'm not sure
how it comes about, but there are apparently cases where the primary
template instance has a non-root `minst`, but has been added to a
root module's members already (so `memberOf` NOT identical to `minst`),
at the time the primary instance's `minst` is swapped-out with a
root `minst` from a sibling instance (in `templateInstanceSemantic()`).

Previously, the primary instance was appended to 2 root modules in
such a case, most likely causing it to be codegen'd twice.
2023-11-27 23:05:36 +01:00
..
docs
ini
samples
src Fix overzealous assert in TemplateInstance.appendToModuleMember() 2023-11-27 23:05:36 +01:00
test fix Issue 24262 - Assert error with bit fields (#15864) 2023-11-26 11:52:07 +01:00