How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Type Checking
Expected Behaviour

Actual Behaviour

Reproduction steps
---@class Test1
local Test1 = {};
---@return self
function Test1:New()
return setmetatable({}, { __indeex = self });
end
---@class Test2 : Test1
local Test2 = {};
local test1 = Test1:New();
local test2 = Test2:New();
Additional Notes
No response
Log File
No response
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Windows
What is the issue affecting?
Type Checking
Expected Behaviour
Actual Behaviour
Reproduction steps
Additional Notes
No response
Log File
No response