diff options
Diffstat (limited to 'script/core/completion/completion.lua')
-rw-r--r-- | script/core/completion/completion.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/core/completion/completion.lua b/script/core/completion/completion.lua index 3eaed85a..33d8fc16 100644 --- a/script/core/completion/completion.lua +++ b/script/core/completion/completion.lua @@ -1403,6 +1403,9 @@ local function tryCallArg(state, position, results) return end local node = vm.compileCallArg({ type = 'dummyarg' }, call, argIndex) + if not node then + return + end local enums = {} for src in node:eachObject() do if src.type == 'doc.type.string' |