-
-
Notifications
You must be signed in to change notification settings - Fork 366
Open
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existsfeat/genericRelated to generic emulation featureRelated to generic emulation feature
Description
How are you using the lua-language-server?
Visual Studio Code Extension (sumneko.lua)
Which OS are you using?
Linux
What is the issue affecting?
Type Checking
Expected Behaviour
inheritance works, or error diagnostic
Actual Behaviour
inheritance doesnt work, no diagnostic
Reproduction steps
--- @class Foo<t>: { a: t; }
--- @class Bar: Foo<integer>
local x --- @type Bar
local what = x.a -- type is unknown
Additional Notes
seems like it just doesnt handle generic syntax in : here
?
Log File
No response
UtkarshVerma, ushu3323 and SirWrexes
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already existsfeat/genericRelated to generic emulation featureRelated to generic emulation feature