From 6c92b9a7cc10971e4ec6402fe9c23b1839c58c80 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, 12 Jan 2023 17:57:12 +0800 Subject: stash --- test/type_inference/init.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test/type_inference') diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index f4a4449d..ed29d3d1 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -4175,3 +4175,17 @@ if xxx == then print(t) end ]] + +TEST 'V' [[ +---@class V +X = 1 + +print() +]] + +TEST 'V' [[ +---@class V +X.Y = 1 + +print(X.) +]] -- cgit v1.2.3