Fixed AS3 Direct editation - removing method bodies after unsuccessful edit (part 2)

This commit is contained in:
Jindra Petřík
2023-01-13 23:43:32 +01:00
parent c5d1790c25
commit dc1e0954bf
2 changed files with 5 additions and 1 deletions

View File

@@ -1039,6 +1039,10 @@ public class ABC implements Openable {
return abcMethodIndexing;
}
public void resetMethodIndexing() {
abcMethodIndexing = null;
}
public DottedChain nsValueToName(String valueStr) {
if (valueStr == null) {

View File

@@ -2630,7 +2630,7 @@ public class ActionScript3Parser {
abc.class_info = originalAbc.class_info;
abc.script_info = originalAbc.script_info;
abc.bodies = originalAbc.bodies;
abc.getMethodIndexing();
abc.resetMethodIndexing();
}
}
}