From 4c96b6a56b353dbc3aef49c52c6875d89d207836 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= <sumneko@hotmail.com>
Date: Mon, 11 Apr 2022 16:39:59 +0800
Subject: fix #1033

---
 test/hover/init.lua | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

(limited to 'test/hover/init.lua')

diff --git a/test/hover/init.lua b/test/hover/init.lua
index 021746be..760a9ab9 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1849,3 +1849,20 @@ local x: {
     [1]: integer = 10,
 }
 ]]
+
+TEST [[
+---@class A
+---@field x string
+
+---@class B: A
+---@field y string
+
+---@type B
+local <?t?>
+]]
+[[
+local t: B {
+    x: string,
+    y: string,
+}
+]]
-- 
cgit v1.2.3