From c0b4b0299dc7b7efc667ef7fb0957e079ad8a411 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sat, 18 Jun 2022 02:09:44 +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 d706798b..74f149e0 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -2699,3 +2699,11 @@ end local = f() ]] + +TEST 'unknown' [[ +local function f() + return t[k] +end + +local = f() +]] -- cgit v1.2.3