Fixed: ABC cleaner not properly fixing namespace sets

This commit is contained in:
Jindra Petřík
2025-07-25 19:24:08 +02:00
parent fe8d08f221
commit ffe9e4d506
2 changed files with 2 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ All notable changes to this project will be documented in this file.
- AS3 direct editation/highlighter §§pop in class traits
- AS direct editation/highlighter §§pop and §§dup can have getmember or call
- [#1295], [#116] AS3 dynamic construction via MultinameL
- ABC cleaner not properly fixing namespace sets
### Changed
- Icon of "Deobfuscation options" menu from pile of pills to medkit

View File

@@ -163,7 +163,7 @@ public class ABCCleaner {
}
for (int i = 1; i < abc.constants.getNamespaceSetCount(); i++) {
if (notReferencedIndices.get(ABCSimpleUsageDetector.ItemKind.MULTINAME).contains(i)) {
if (notReferencedIndices.get(ABCSimpleUsageDetector.ItemKind.NAMESPACESET).contains(i)) {
continue;
}
NamespaceSet m = abc.constants.getNamespaceSet(i);