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
Using Lua 5.2 but I believe it applies for all the other versions
Missing optional nil return values on next()
localtab= {}---@type{[integer]: {[string]: string}}localindex, value=next(tab)
print(index) -- This line should warn for need check nilprint(value.first) -- This line should warn for need check nil
string.match returns string? (not string|number)
returncity_name:match(".*, .*, (.*)") --- Incorrect type warning here
latest Vscode, latest master
The text was updated successfully, but these errors were encountered:
Using Lua 5.2 but I believe it applies for all the other versions
Missing optional nil return values on next()
string.match returns string? (not string|number)
latest Vscode, latest master
The text was updated successfully, but these errors were encountered: