From f050b38fd69bd1c90b99b536f89f8036c9f4fc3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 1 Nov 2022 14:52:45 +0800 Subject: update search reference --- test/references/common.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'test') diff --git a/test/references/common.lua b/test/references/common.lua index c20b32ed..7f7e91a6 100644 --- a/test/references/common.lua +++ b/test/references/common.lua @@ -201,3 +201,18 @@ local b = { } a.color = { 1, 1, 1 } b.<~color~> = a.color ]] + +TEST [[ +---@alias <~A~> number + +---@type +]] + +TEST [[ +---@class A +---@field <~x~> number + +---@type A +local t +print(t.) +]] -- cgit v1.2.3