Variable's type sometimes unions with nil
due to if
statement with new type solver's strict mode
#1269
Labels
nil
due to if
statement with new type solver's strict mode
#1269
Tentative conditions, for a variable
v
of typet
:if
statement,v
is last assigned to either the result of a function call, or a table's value where the table's keys' type is notstring
.if
condition includes a function call that directly passesv
.if
statement,v
is not reassigned to anything before its first use.Tested on 0.627, with no errors in non-strict mode.
The text was updated successfully, but these errors were encountered: