Functions with fewer arguments should be accepted as a param/field for functions with more arguments #1692
Labels
bug
Something isn't working
feat/LuaCats Annotations
Related to Lua Language Server Annotations (LuaCats)
How are you using the lua-language-server?
NeoVim
Which OS are you using?
Linux
What is the issue affecting?
Type Checking
Expected Behaviour
this should work
Actual Behaviour
this doesn't work:
This function requires 1 argument(s) but instead it is receiving 0.
this works, even though they are equivalent
Reproduction steps
Additional Notes
The same should apply to
@field
and maybe@type
as wellLog File
No response
The text was updated successfully, but these errors were encountered: