diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-01 16:42:21 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-01 16:42:21 +0800 |
commit | 662532d837d88ec470206b24a1e73cef871f66b6 (patch) | |
tree | f962451e1ed79580fdb803a0aab24ab5afcfbf11 /script | |
parent | fd5aaac3348907ac2618f84e013ab0902cfc20dc (diff) | |
download | lua-language-server-662532d837d88ec470206b24a1e73cef871f66b6.zip |
fix
Diffstat (limited to 'script')
-rw-r--r-- | script/vm/compiler.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index a1fa395c..bf0cc44b 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -905,6 +905,9 @@ local function compileForVars(source) if source._iterator then return end + if not source.exps then + return + end -- for k, v in pairs(t) do --> for k, v in iterator, status, initValue do --> local k, v = iterator(status, initValue) |