From fa518d4f9522b38aca9478ac494e9523cca475f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sat, 16 Apr 2022 21:50:29 +0800 Subject: fix #1057 --- test/diagnostics/common.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/diagnostics/common.lua') diff --git a/test/diagnostics/common.lua b/test/diagnostics/common.lua index 6aa1dd6a..56ad0d59 100644 --- a/test/diagnostics/common.lua +++ b/test/diagnostics/common.lua @@ -1387,3 +1387,11 @@ local value value = '1' value = value:gsub() ]] + +TEST [[ +T = {} +---@deprecated # comment +T.x = 1 + +print() +]] -- cgit v1.2.3