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
I have a file with two functions that both cast a local variable to a different type. This works perfectly for the first function but fails for the second (or the last if I add more functions).
Actual Behaviour
Error Unknown type conversion variable item (unknown-cast-variable) for the ---@cast item B inside fu().
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
I have a file with two functions that both cast a local variable to a different type. This works perfectly for the first function but fails for the second (or the last if I add more functions).
Actual Behaviour
Error
Unknown type conversion variable item (unknown-cast-variable)
for the---@cast item B
insidefu()
.Reproduction steps
Additional Notes
No response
Log File
No response
The text was updated successfully, but these errors were encountered: