Fixed: Using public/private/protected/internal keywords on ambiguous namespace references

and compiling such keywords with `::` suffix.
This commit is contained in:
Jindra Petřík
2026-02-19 20:54:52 +01:00
parent 056113c454
commit 417ffda416
32 changed files with 454 additions and 164 deletions

View File

@@ -116,7 +116,7 @@ public abstract class ActionScript3DecompileTestBase extends ActionScriptTestBas
Set<String> usedDeobfuscations = new LinkedHashSet<>();
abc.bodies.get(bodyIndex).convert(swf.version, callStack, swf.getAbcIndex(), new ConvertData(), "run", ScriptExportMode.AS, isStatic, abc.bodies.get(bodyIndex).method_info, scriptIndex, clsIndex, abc, null, new ScopeStack(), 0, new NulWriter(), new ArrayList<>(), abc.instance_info.get(clsIndex).instance_traits, true, new HashSet<>(), new ArrayList<>(), usedDeobfuscations);
writer = new HighlightedTextWriter(new CodeFormatting(), false);
abc.bodies.get(bodyIndex).toString(usedDeobfuscations, swf.version, callStack, swf.getAbcIndex(), "run", ScriptExportMode.AS, abc, null, writer, new ArrayList<>(), new HashSet<>());
abc.bodies.get(bodyIndex).toString(usedDeobfuscations, swf.version, callStack, swf.getAbcIndex(), "run", ScriptExportMode.AS, abc, null, writer, new ArrayList<>(), new HashSet<>(), -1);
} catch (InterruptedException ex) {
fail();
return;