Skip to content

Commit 7f57a91

Browse files
committed
fix(functions): fix typo mapConcrete to mapNode
1 parent dc20851 commit 7f57a91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/typeEvaluator/functions.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ export function handleFuncCallNode(node: FuncCallNode, scope: Scope): TypeNode {
8484
const arg1 = walk({node: node.args[0], scope})
8585
const arg2 = walk({node: node.args[1], scope})
8686

87-
return mapConcrete(arg1, scope, (arg1) =>
88-
mapConcrete(arg2, scope, (arg2) => {
87+
return mapNode(arg1, scope, (arg1) =>
88+
mapNode(arg2, scope, (arg2) => {
8989
if (arg1.type !== 'array') {
9090
return {type: 'null'}
9191
}

0 commit comments

Comments
 (0)