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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Visual Studio Code Extension (sumneko.lua)
Windows
Diagnostics/Syntax Checking
If we write this code:
--- @class Base --- @field BaseString string --- @field BaseNum number? --- @class Extended : Base --- @field ExtendedString string --- @field ExtendedNum number? --- @type Extended local instance = { ExtendedString = "Value" }
There should be a warning about the missing required field "BaseString"
There is only a warning if "ExtendedString" is missing
Copy the code above into any lua project
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
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?
Diagnostics/Syntax Checking
Expected Behaviour
If we write this code:
There should be a warning about the missing required field "BaseString"
Actual Behaviour
There is only a warning if "ExtendedString" is missing
Reproduction steps
Copy the code above into any lua project
Additional Notes
No response
Log File
No response
The text was updated successfully, but these errors were encountered: