Closed zmbush closed 5 months ago
Having one global KnownTypes is prone to collision errors, triggering a very hard to debug panic in CodeGenerationVisitor::generate_code_for_operation.
KnownTypes
By tracking KnownTypes on a per-file basis, those panics no longer occur.
Wow, good catch! Thanks! I'll make a release including this when Bevy 0.14 lands.
Having one global
KnownTypes
is prone to collision errors, triggering a very hard to debug panic in CodeGenerationVisitor::generate_code_for_operation.By tracking
KnownTypes
on a per-file basis, those panics no longer occur.