diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-23 19:50:09 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-23 19:50:09 +0800 |
commit | 4cbbe55a5944e6c4dcaea7028cab65648251951e (patch) | |
tree | fef77377ddbcdc1c7ae325161a3b36fac4520832 /script/vm | |
parent | 30570630339f3a3ce19329d045ac0eb42627d3b9 (diff) | |
download | lua-language-server-4cbbe55a5944e6c4dcaea7028cab65648251951e.zip |
fix
Diffstat (limited to 'script/vm')
-rw-r--r-- | script/vm/runner.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/runner.lua b/script/vm/runner.lua index 026fd983..9384ec01 100644 --- a/script/vm/runner.lua +++ b/script/vm/runner.lua @@ -78,7 +78,7 @@ function mt:_compileNarrowByFilter(filter, pos) break end end - if not loc then + if not loc or not exp then return end if exp.type == 'nil' then |