diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-05 11:02:02 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-05 11:02:02 +0800 |
commit | 31a4c20b3597cdf07e4b4e3ddbfeb2181a1e1559 (patch) | |
tree | 53b880dce6049f7a89d24581d1d718cc717046ee /script/parser/guide.lua | |
parent | acf1fe450e713911c6d0b9f60a0f0b81a2fce143 (diff) | |
download | lua-language-server-31a4c20b3597cdf07e4b4e3ddbfeb2181a1e1559.zip |
fix #276 dont share crossMethodMark
Diffstat (limited to 'script/parser/guide.lua')
-rw-r--r-- | script/parser/guide.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua index 7fa2f3e2..4766257c 100644 --- a/script/parser/guide.lua +++ b/script/parser/guide.lua @@ -1697,10 +1697,10 @@ function m.searchSameMethod(ref, mark) end function m.searchSameFieldsCrossMethod(status, ref, start, queue) - local mark = status.cache.crossMethodMark + local mark = status.crossMethodMark if not mark then mark = {} - status.cache.crossMethodMark = mark + status.crossMethodMark = mark end local method = m.searchSameMethod(ref, mark) or m.searchSameMethodCrossSelf(ref, mark) |