spelling: constructor

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2024-10-22 08:57:53 -04:00
committed by Jindra Petřík
parent 36dfc11e64
commit 680aa2e137
3 changed files with 3 additions and 3 deletions

View File

@@ -1676,7 +1676,7 @@ public class ActionScript3Parser {
if (ss2.type == SymbolType.PARENT_OPEN) {
List<GraphTargetItem> args = call(allOpenedNamespaces, thisType, pkg, needsActivation, importedClasses, openedNamespaces, registerVars, inFunction, inMethod, variables, abc);
ret = new ConstructSuperAVM2Item(null, null, new LocalRegAVM2Item(null, null, 0, null, new TypeItem("Object") /*?*/), args);
} else { //no costructor call, but it could be calling parent methods... => handle in expression
} else { //no constructor call, but it could be calling parent methods... => handle in expression
lexer.pushback(ss2);
lexer.pushback(s);
}

View File

@@ -1163,7 +1163,7 @@ public class ActionScript2Parser {
VariableActionItem supItem = new VariableActionItem(s.value.toString(), null, false);
variables.add(supItem);
ret = new CallMethodActionItem(null, null, supItem, new DirectValueActionItem(null, null, 0, Undefined.INSTANCE, constantPool), args);
} else { //no costructor call, but it could be calling parent methods... => handle in expression
} else { //no constructor call, but it could be calling parent methods... => handle in expression
lexer.pushback(ss2);
lexer.pushback(s);
}