Skip to content

Commit

Permalink
style: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
liuly0322 committed Apr 25, 2024
1 parent a52fa24 commit 6a11fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ast/nodes/shared/FunctionBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default abstract class FunctionBase extends NodeBase {
}

private parameterLiteralValues: LiteralValueOrUnknown[] = [];
private initOrDeoptimizeParameterVariableValues(_arguments: InteractionCalledArguments): void {
private updateParameterVariableValues(_arguments: InteractionCalledArguments): void {
for (let position = 0; position < this.params.length; position++) {
const parameter = this.params[position];
// We only consider Identifier for now.
Expand Down Expand Up @@ -160,7 +160,7 @@ export default abstract class FunctionBase extends NodeBase {
this.addArgumentToBeDeoptimized(argument);
}
}
this.initOrDeoptimizeParameterVariableValues(args);
this.updateParameterVariableValues(args);
} else {
this.getObjectEntity().deoptimizeArgumentsOnInteractionAtPath(
interaction,
Expand Down

0 comments on commit 6a11fe6

Please sign in to comment.