From 1efc05d573a33d2ed2f2bc43fb4142a450bbfa02 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, 9 Jul 2021 14:35:02 +0800 Subject: incorrect type infer --- test/hover/init.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test') diff --git a/test/hover/init.lua b/test/hover/init.lua index 9a30ab81..80f6009c 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1629,3 +1629,12 @@ a. = 10 * 60 [[ global a.b: integer ]] + +TEST [[ +a..c = 1 * 1 +]] +[[ +global a.b: { + c: integer, +} +]] -- cgit v1.2.3