Open
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
Adding an Overload under ---@Class should not change anything about how the type is handled.
Actual Behaviour
Here we have a class declaration and it's exactly how I want.
Adding an overload for the constructor generates warnings? Doesn't really make any sense.
Reproduction steps
Use ---@Class to define a class.
Add ---@overload.
Make sure the class library you're using returns anything but any when extending or creating a new class.
Additional Notes
No response
Log File
No response
Metadata
Metadata
Assignees
Labels
No labels