From e665f6f914eec9e3beca165f1ad7ff432573c740 Mon Sep 17 00:00:00 2001 From: sumneko Date: Fri, 11 Mar 2022 18:05:49 +0800 Subject: update --- test/type_inference/init.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test') diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 9edc49c3..f62ca013 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -289,6 +289,14 @@ end = x() ]] +TEST 'unknown' [[ +local function x() + return nil + return f() +end +_, = x() +]] + TEST 'integer' [[ local function x() return 1 -- cgit v1.2.3