From 580da8919f56ca2ca4e7ba52274e1e8b8b9d19c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 13 May 2021 11:37:31 +0800 Subject: stash --- test/type_inference/init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') 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 = f() -- cgit v1.2.3