virtualx-engine/modules/gdscript/tests/scripts/analyzer/features
George Marques 6bdb28f5e4
GDScript: Avoid hard errors on inferred types
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.
2021-10-06 11:42:19 -03:00
..
as.gd Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
as.out Add dozens of new integration tests to the GDScript test suite 2021-09-14 18:42:08 +02:00
auto_inferred_type_dont_error.gd GDScript: Avoid inferred types from giving hard errors 2021-09-17 11:52:30 -03:00
auto_inferred_type_dont_error.out GDScript: Make all warnings enabled in test generation 2021-10-06 11:39:00 -03:00
call_self_get_name.gd
call_self_get_name.out Correct null and boolean values being capitalised by the str command 2021-08-26 17:11:34 +10:00
call_static_builtin_function.gd GDScript: Fix calling builtin static functions 2021-08-18 18:58:41 -03:00
call_static_builtin_function.out Correct null and boolean values being capitalised by the str command 2021-08-26 17:11:34 +10:00
class_inference_is_weak.gd GDScript: Avoid hard errors on inferred types 2021-10-06 11:42:19 -03:00
class_inference_is_weak.out GDScript: Avoid hard errors on inferred types 2021-10-06 11:42:19 -03:00
constants_from_parent.gd GDScript: Allow access to outer constant and enum values 2021-08-24 14:45:51 -03:00
constants_from_parent.out Fix GDScript test cases 2021-09-13 15:02:01 -03:00
enum_from_parent.gd GDScript: Allow access to outer constant and enum values 2021-08-24 14:45:51 -03:00
enum_from_parent.out Fix GDScript test cases 2021-09-13 15:02:01 -03:00
enum_value_from_parent.gd GDScript: Allow access to outer constant and enum values 2021-08-24 14:45:51 -03:00
enum_value_from_parent.out Fix GDScript test cases 2021-09-13 15:02:01 -03:00
gdscript_to_preload.gd GDScript: Fix inner classes and preloaded scripts as types 2021-08-18 18:56:21 -03:00
gdscript_to_preload.out GDScript: Fix inner classes and preloaded scripts as types 2021-08-18 18:56:21 -03:00
inner_class_as_return_type.gd GDScript: Fix inner classes and preloaded scripts as types 2021-08-18 18:56:21 -03:00
inner_class_as_return_type.out GDScript: Fix inner classes and preloaded scripts as types 2021-08-18 18:56:21 -03:00
local_inference_is_weak.gd GDScript: Avoid hard errors on inferred types 2021-10-06 11:42:19 -03:00
local_inference_is_weak.out GDScript: Avoid hard errors on inferred types 2021-10-06 11:42:19 -03:00
static_method_builtin_type.gd Add more integration tests to the GDScript test suite 2021-09-15 19:57:39 +02:00
static_method_builtin_type.out Add more integration tests to the GDScript test suite 2021-09-15 19:57:39 +02:00
use_preload_script_as_type.gd GDScript: Fix inner classes and preloaded scripts as types 2021-08-18 18:56:21 -03:00
use_preload_script_as_type.out GDScript: Fix inner classes and preloaded scripts as types 2021-08-18 18:56:21 -03:00