Skip to content

Commit

Permalink
fixed closure
Browse files Browse the repository at this point in the history
  • Loading branch information
Hidanio committed Dec 5, 2024
1 parent a8c36f3 commit 27f27dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/linter/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -1070,6 +1070,7 @@ func (b *blockWalker) handleCallArgs(args []ir.Node, fn meta.FuncInfo) {
ArgTypes: funcArgTypes,
}

b.CheckParamNullability(a.Params)
b.enterClosure(a, isInstance, typ, closureSolver)
default:
a.Walk(b)
Expand Down

0 comments on commit 27f27dd

Please sign in to comment.