We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34500a7 commit bce8b09Copy full SHA for bce8b09
test/hover/init.lua
@@ -1866,3 +1866,21 @@ local t: B {
1866
y: string,
1867
}
1868
]]
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