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 the below code and the language server's odd complaint about a ---@cast. You can see I added the same cast a few lines later and it doesn't complain about that one (even if I remove the first one).
---@cast removedWeaponDetails - nil
if flamethrowerGiven == nil then
Logging.LogPrint(errorMessageStart .. "target player can't be given a flamethrower for some odd reason: " .. data.target)
return
end
---@cast removedWeaponDetails - nil```
On-hover over the type when its first returned by the function,

The text was updated successfully, but these errors were encountered:
I have the below code and the language server's odd complaint about a ---@cast. You can see I added the same cast a few lines later and it doesn't complain about that one (even if I remove the first one).
The text was updated successfully, but these errors were encountered: