From 4c636f0c792fb7abcdf4d38430be23d8bfc40491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 16 Nov 2021 15:05:49 +0800 Subject: update type-infer --- test/type_inference/init.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'test/type_inference/init.lua') diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 135f6749..a3764328 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -930,3 +930,17 @@ TEST '👍' [[ ---@class 👍 local ]] + +TEST 'boolean' [[ +---@type boolean +local x + + = 1 +]] + +TEST 'Class' [[ +---@class Class +local x + + = 1 +]] -- cgit v1.2.3