diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/type_inference/init.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 3de36e5e..99205a74 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -363,12 +363,16 @@ self.<?t?>[#self.t+1] = {} ]] TEST 'string' [[ +---@class string + ---@type string[] local x local <?y?> = x[1] ]] TEST 'string' [[ +---@class string + ---@return string[] local function f() end local x = f() |