diff options
-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?> |