-
-
Notifications
You must be signed in to change notification settings - Fork 398
Closed as not planned
Description
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 A
local A = {}
---@Class B : A
local B = {}
---@Generic T : A
---@param name string
---@param baseClazz? T
---@return T
function test(name, baseClazz)
end
local c = test("c")
===以上代码,最后一行c的类型推导有问题
Additional Notes
No response
Log File
No response
Metadata
Metadata
Assignees
Labels
No labels

