diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/type_inference/init.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 9a6cce6f..95933b8d 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -244,8 +244,11 @@ end ]] TEST 'string' [[ +---@return string +local function f2() end + local function f() - return string.sub() + return f2() end local <?x?> = f() |