Skip to content

Commit bce8b09

Browse files
committed
add test
1 parent 34500a7 commit bce8b09

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

test/hover/init.lua

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1866,3 +1866,21 @@ local t: B {
18661866
y: string,
18671867
}
18681868
]]
1869+
1870+
TEST [[
1871+
---@class A
1872+
---@field x string
1873+
1874+
---@class B: A
1875+
---@field x integer
1876+
---@field y string
1877+
1878+
---@type B
1879+
local <?t?>
1880+
]]
1881+
[[
1882+
local t: B {
1883+
x: integer,
1884+
y: string,
1885+
}
1886+
]]

0 commit comments

Comments
 (0)