From f5464ddc9a8e043977f27e70d9f1dfc2be56b02e 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, 7 Jul 2022 15:38:18 +0800 Subject: `boolean` kick `true` and `false` --- test/type_inference/init.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/type_inference') diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index da109bd7..a8011616 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -3620,3 +3620,8 @@ end local = bool and '' or 0 ]] + +TEST 'boolean' [[ +---@type boolean|true|false +local +]] -- cgit v1.2.3