From 2dd1bdb05cb317613cd634208953d8450acf4d52 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, 16 Jun 2022 15:49:51 +0800 Subject: don't show `any` as field node --- test/hover/init.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test') diff --git a/test/hover/init.lua b/test/hover/init.lua index 46accbf7..48daf593 100644 --- a/test/hover/init.lua +++ b/test/hover/init.lua @@ -1929,3 +1929,13 @@ local [[ local x: ` x | y `|`123 ????` ]] + +TEST [[ +---@type any +local x + +print(x.) +]] +[[ +(field) x.y: unknown +]] -- cgit v1.2.3