diff options
Diffstat (limited to 'server-beta/test/hover/init.lua')
-rw-r--r-- | server-beta/test/hover/init.lua | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/server-beta/test/hover/init.lua b/server-beta/test/hover/init.lua index 458adc8c..6a1c275b 100644 --- a/server-beta/test/hover/init.lua +++ b/server-beta/test/hover/init.lua @@ -156,12 +156,17 @@ t.<?x?> = 1 "global t.x: integer = 1" TEST [[ +local <?obj?> = {} +]] +"local obj: {}" + +TEST [[ local mt = {} mt.__name = 'class' local <?obj?> = setmetatable({}, mt) ]] -"local obj: *class {}" +"local obj: class {}" TEST [[ local mt = {} @@ -171,7 +176,7 @@ mt.__index = mt local <?obj?> = setmetatable({}, mt) ]] [[ -local obj: *class { +local obj: class { __index: table, name: string = "class", } |