Since inference isn't always correct, they are now treated as unsafe instead of errors. This also removes inferred type when a variable is reassigned. Since it's not aware of branching, the types might become invalid in a later context. |
||
|---|---|---|
| .. | ||
| as.gd | ||
| as.out | ||
| auto_inferred_type_dont_error.gd | ||
| auto_inferred_type_dont_error.out | ||
| call_self_get_name.gd | ||
| call_self_get_name.out | ||
| call_static_builtin_function.gd | ||
| call_static_builtin_function.out | ||
| class_inference_is_weak.gd | ||
| class_inference_is_weak.out | ||
| constants_from_parent.gd | ||
| constants_from_parent.out | ||
| enum_from_parent.gd | ||
| enum_from_parent.out | ||
| enum_value_from_parent.gd | ||
| enum_value_from_parent.out | ||
| gdscript_to_preload.gd | ||
| gdscript_to_preload.out | ||
| inner_class_as_return_type.gd | ||
| inner_class_as_return_type.out | ||
| local_inference_is_weak.gd | ||
| local_inference_is_weak.out | ||
| static_method_builtin_type.gd | ||
| static_method_builtin_type.out | ||
| use_preload_script_as_type.gd | ||
| use_preload_script_as_type.out | ||