diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-16 17:22:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-16 17:22:29 +0800 |
commit | d360c629c9f7508906202e8256bbdf0e1b9c0567 (patch) | |
tree | deb6412139d9971f430fbf254dbee9ba3f9eff09 | |
parent | e518b9952005645c26ee22b1baa8925be3cde8fe (diff) | |
download | lua-language-server-d360c629c9f7508906202e8256bbdf0e1b9c0567.zip |
类型推断允许3层
-rw-r--r-- | script-beta/parser/guide.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua index c92a1dce..c240e546 100644 --- a/script-beta/parser/guide.lua +++ b/script-beta/parser/guide.lua @@ -2521,7 +2521,7 @@ function m.inferCheckBinary(status, source) end function m.inferByDef(status, obj) - if status.index > 1 then + if status.index > 3 then return end local mark = {} |