diff options
author | fesily <fesil@foxmail.com> | 2024-02-23 18:18:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-23 18:18:03 +0800 |
commit | b3acd8fcf68cbea30ea01f6063305c9387e019c6 (patch) | |
tree | 7d4512403cac660b929f081e510df691c5658c94 /script | |
parent | 56e7adab10b48ced28d857ca872014ed4ba5fc25 (diff) | |
download | lua-language-server-b3acd8fcf68cbea30ea01f6063305c9387e019c6.zip |
Update script/vm/compiler.lua
Co-authored-by: Lewis Russell <me@lewisr.dev>
Diffstat (limited to 'script')
-rw-r--r-- | script/vm/compiler.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/compiler.lua b/script/vm/compiler.lua index cb1fa663..fc8f7c52 100644 --- a/script/vm/compiler.lua +++ b/script/vm/compiler.lua @@ -1055,7 +1055,7 @@ local function compileFunctionParam(func, source) local derviationParam = config.get(guide.getUri(func), 'Lua.type.inferParamType') if derviationParam and func.parent.type == 'local' and func.parent.ref then local refs = func.parent.ref - local finded + local found for _, ref in ipairs(refs) do if ref.parent.type ~= 'call' then goto continue |