diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-11-27 14:09:07 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-11-27 14:09:07 +0800 |
commit | 9f8d937378e3a4c493e91fb418b490e7f42fce6c (patch) | |
tree | 4486f39d658b8646beee64f4173ce2e78d08217b /test-beta/references | |
parent | 21ede3732d3bd57078db2d9075cd0dcd54dda458 (diff) | |
download | lua-language-server-9f8d937378e3a4c493e91fb418b490e7f42fce6c.zip |
暂存
Diffstat (limited to 'test-beta/references')
-rw-r--r-- | test-beta/references/init.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua index 951ff516..98758c1a 100644 --- a/test-beta/references/init.lua +++ b/test-beta/references/init.lua @@ -129,6 +129,13 @@ function table.<?dump?>() end ]] +TEST [[ +local mt = {} +mt.x = 1 +local obj = setmetatable({}, mt) +print(obj.<?x?>) +]] + --TEST [[ -----@class <!Class!> -----@type <?Class?> |