We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio Code Extension (sumneko.lua)
Windows
Type Checking
---@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();
No response
The text was updated successfully, but these errors were encountered:
Isn't this a duplicate of #1505 ?
Sorry, something went wrong.
Is this issue fixed?
I don't think so. You may want to try the workaround mentioned here: #3057 (comment)
Or use CppCXY's new rust-based language server: #3017 His server has better generic support, including the correct behavior mentioned in this issue.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: