From 3f300fc71445acd56b70ebc10255eab160b9c458 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, 24 Jun 2021 21:44:24 +0800 Subject: fix #550 --- test/completion/init.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test') diff --git a/test/completion/init.lua b/test/completion/init.lua index dde4b559..80a4aae5 100644 --- a/test/completion/init.lua +++ b/test/completion/init.lua @@ -2463,6 +2463,17 @@ api({$}) ]] (EXISTS) +TEST [[ +---@class A +---@field a '"hello"'|'"world"' + +---@param t A +function m:api(t) end + +m:api({$}) +]] +(EXISTS) + TEST [[ ---@class AAA.BBB -- cgit v1.2.3