lua-language-server
                                
                                 lua-language-server copied to clipboard
                                
                                    lua-language-server copied to clipboard
                            
                            
                            
                        Class generics cannot inherit directly from the generic
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?
Annotations, Type Checking
Expected Behaviour
When defining a generic class, the class should be able to inherit directly from the generic, allowing an extension of the generic
---@class Example<T>: T
---@field thing boolean
Actual Behaviour
Lua diagnostics reports "undefined class `T`"
Reproduction steps
Copy the following into VSCode
---@class Example<T>: T
Hover over the second T
Additional Notes
No response
Log File
No response
luals doesn't support generic classes yet.