Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
darkdrag00nv2 committed Dec 8, 2023
1 parent 437ea4b commit c75cb9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runtime/sema/check_invocation_expression.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ func (checker *Checker) checkInvocation(

// Compute the invocation range, once, if needed
getInvocationRange := func() func() ast.Range {
var invcocationRange ast.Range
var invocationRange ast.Range
return func() ast.Range {
if invocationRange == ast.EmptyRange {
invocationRange = ast.NewRangeFromPositioned(
Expand All @@ -484,7 +484,7 @@ func (checker *Checker) checkInvocation(
functionType.ArgumentExpressionsCheck(
checker,
argumentExpressions,
invocationRange,
getInvocationRange(),
)
}

Expand All @@ -509,7 +509,7 @@ func (checker *Checker) checkInvocation(
checker.memoryGauge,
typeArguments,
invocationExpression.TypeArguments,
invocationRange,
getInvocationRange(),
checker.report,
)
}
Expand Down

0 comments on commit c75cb9d

Please sign in to comment.