diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-08-20 17:18:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-08-20 17:18:04 +0800 |
commit | 7fe2ff7b57baf24ea53eef3138a30f23524e54d7 (patch) | |
tree | 5fc919e114733d020c8534e910bd7f7ce6309d51 /script-beta | |
parent | 4dda81f0852b8d7372de54c8a42a5c64b28075ac (diff) | |
download | lua-language-server-7fe2ff7b57baf24ea53eef3138a30f23524e54d7.zip |
修正一个死循环
Diffstat (limited to 'script-beta')
-rw-r--r-- | script-beta/parser/guide.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/script-beta/parser/guide.lua b/script-beta/parser/guide.lua index 3584dacb..32e2cac5 100644 --- a/script-beta/parser/guide.lua +++ b/script-beta/parser/guide.lua @@ -1142,6 +1142,9 @@ function m.checkSameSimpleInArg1OfSetMetaTable(status, obj, start, queue) end local mt = args[2] if mt then + if m.checkValueMark(status, obj, mt) then + return + end m.checkSameSimpleInValueInMetaTable(status, mt, start, queue) end end |