From 1abbbdc89bb5511aead3ac8155ae68265b90a6e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 17 Jun 2022 17:44:51 +0800 Subject: some fix --- test/type_inference/init.lua | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test') diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 09f51b8e..aa424d9c 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -2674,3 +2674,16 @@ local t local = t.x ]] + +TEST 'integer' [[ +local function f() + return GG +end + +local t + +t.x = 1 +t.x = f() + +print(t.) +]] -- cgit v1.2.3