Skip to content

Commit e5ebce3

Browse files
committed
fix runtime error
1 parent aa93338 commit e5ebce3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

script/core/diagnostics/param-type-mismatch.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ return function (uri, callback)
4646
goto CONTINUE
4747
end
4848
local refNode = vm.compileNode(arg)
49+
if not refNode then
50+
goto CONTINUE
51+
end
4952
local defNode = getDefNode(funcNode, i)
5053
if not defNode then
5154
goto CONTINUE

0 commit comments

Comments
 (0)