diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-27 17:47:08 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-27 17:47:08 +0800 |
commit | 8b15b7c4dbe4ffc3bb517655a934b2b58c698664 (patch) | |
tree | 31113b5eef3eb7c3ef89bb71092b1779d731317a /test-beta/references | |
parent | aeeb7d9a52ca429bfd4db41a1e675261d285665c (diff) | |
download | lua-language-server-8b15b7c4dbe4ffc3bb517655a934b2b58c698664.zip |
修正一个引用计算bug
Diffstat (limited to 'test-beta/references')
-rw-r--r-- | test-beta/references/init.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua index 98758c1a..896997b6 100644 --- a/test-beta/references/init.lua +++ b/test-beta/references/init.lua @@ -131,6 +131,11 @@ end TEST [[ local mt = {} +local <?obj?> = setmetatable({}, mt) +]] + +TEST [[ +local mt = {} mt.x = 1 local obj = setmetatable({}, mt) print(obj.<?x?>) |