You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---@overloadfun(a: string): string---@overloadfun(a: number): tablefunctionFoo.Bar(a)
-- `a` is incorrectly assumed to be a `string`returna:lower() -- This does not error while it should!end
Additional Notes
No response
Log File
No response
The text was updated successfully, but these errors were encountered:
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
a
isstring|number
Actual Behaviour
a
isstring
Reproduction steps
Additional Notes
No response
Log File
No response
The text was updated successfully, but these errors were encountered: