From dbfde868deadc55e0ae756ba012f8cd50a87e364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 1 Dec 2021 16:59:20 +0800 Subject: fix #825 --- test/diagnostics/init.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/diagnostics/init.lua') diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua index 4bf7e81d..1bbd83b9 100644 --- a/test/diagnostics/init.lua +++ b/test/diagnostics/init.lua @@ -1514,3 +1514,11 @@ return { x = 1, } ]] + +TEST [[ +---@class A #1 +]] + +TEST [[ +---@class A 1 +]] -- cgit v1.2.3