From 92b2a185af2d31dd353ef8a7d57469ee9d584cb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 27 Jun 2022 00:42:31 +0800 Subject: resolve #1236 custom class can extends basic class --- test/type_inference/init.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/type_inference') diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 7b4185d7..4b745c0d 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -3142,3 +3142,10 @@ for _ in _ do end print() ]] + +TEST 'A' [[ +---@class A: string + +---@type A +local = '' +]] -- cgit v1.2.3