877802e252
If the type of a variable is a built-in Variant type, then it will automatically be assigned a default value based on the type. This means that the explicit initialization may be unnecessary. Thus this commit removes the warning in such case. This also changes the meaning of the unassigned warning to happen when the variable is used before being assigned, not when it has zero assignments. |
||
---|---|---|
.. | ||
errors | ||
features | ||
assign_to_read_only_property.gd | ||
assign_to_read_only_property.out | ||
assign_to_read_only_property_with_variable_index.gd | ||
assign_to_read_only_property_with_variable_index.out |