Skip to content
Snippets Groups Projects

Fix symbol canonicalization to not duplicate when marking as updated

Merged Frederik Hennig requested to merge fhennig/fix_canonicalize into backend-rework
Compare and
2 files
+ 29
1
Preferences
Compare changes
Files
2
@@ -33,7 +33,7 @@ class CanonContext:
return replacement
def mark_as_updated(self, symb: PsSymbol):
self.updated_symbols.add(self.deduplicate(symb))
self.updated_symbols.add(symb)
def is_live(self, symb: PsSymbol) -> bool:
return symb in self.live_symbols_map