mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-15 19:38:19 +00:00
Fixed #595 AS3 direct editation - protected property resolving,
Fix tests
This commit is contained in:
@@ -1721,6 +1721,7 @@ public class ABC implements Openable {
|
||||
getSwf().clearAbcListCache();
|
||||
getSwf().clearScriptCache();
|
||||
getMethodIndexing();
|
||||
getSwf().getAbcIndex().refreshAbc(this);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -85,6 +85,8 @@ public abstract class AVM2Item extends GraphTargetItem {
|
||||
}
|
||||
|
||||
if (object.getThroughDuplicate() instanceof FindPropertyAVM2Item) {
|
||||
//TODO: this might not be a good idea - #595,
|
||||
//but removing this fails testNames test
|
||||
FindPropertyAVM2Item fp = (FindPropertyAVM2Item) object.getThroughDuplicate();
|
||||
if (fp.propertyName instanceof FullMultinameAVM2Item) {
|
||||
propertyName = fp.propertyName;
|
||||
|
||||
Reference in New Issue
Block a user