From bc92c4dcefc0c87420c7d4b239c1eb4b9d14588c 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, 9 Jun 2022 19:33:28 +0800 Subject: add `doc.type.code` --- test/hover/init.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/hover/init.lua') diff --git a/test/hover/init.lua b/test/hover/init.lua index dc725f6c..46accbf7 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1921,3 +1921,11 @@ end [[ (upvalue) x: unknown ]] + +TEST [[ +---@type `123 ????` | ` x | y ` +local +]] +[[ +local x: ` x | y `|`123 ????` +]] -- cgit v1.2.3