diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-01-07 20:06:19 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-01-07 20:06:19 +0800 |
commit | 3d46b2727c209a5d0bbf99c043b6f4040d4cfa8f (patch) | |
tree | 725795f27cf5d75cd4a626860b945497eaadaf27 | |
parent | 54d887f0d17b751a107af485ec0c60e0df9c4708 (diff) | |
download | lua-language-server-3d46b2727c209a5d0bbf99c043b6f4040d4cfa8f.zip |
#347 unlimited call chains
-rw-r--r-- | script/parser/guide.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index ab4cbdcd..6c56155d 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -1952,7 +1952,7 @@ function m.checkSameSimpleInCall(status, ref, start, pushQueue, mode) m.checkSameSimpleInValueOfSetMetaTable(status, func, start, pushQueue) -- 检查赋值是 func() 的情况 if status.share.crossCallCount >= 2 then - return + --return end status.share.crossCallCount = status.share.crossCallCount + 1 local objs = m.checkSameSimpleInCallInSameFile(status, func, args, index) |