behaviour-tree-test/modules/gdscript/tests/scripts/analyzer/features
George Marques 030995c10d
GDScript: Allow casting enum to int
An enum value is always an integer so the cast is valid. The code here
now consider this case to avoid giving an error message.
2024-04-12 11:49:21 -03:00
..
allow_get_node_with_onready.gd
allow_get_node_with_onready.out
allow_void_function_to_return_void.gd
allow_void_function_to_return_void.out
annotation_constant_expression_parameters.gd
annotation_constant_expression_parameters.out
array_string_stringname_equivalent.gd
array_string_stringname_equivalent.out
as.gd
as.out
assert_literal_false.gd
assert_literal_false.out
assign_to_native_enum_property.gd
assign_to_native_enum_property.out
assignments_with_untyped.gd
assignments_with_untyped.out
assymetric_assignment_good.gd
assymetric_assignment_good.out
auto_inferred_type_dont_error.gd
auto_inferred_type_dont_error.out
await_type_inference.gd
await_type_inference.out
await_with_signals_no_warning.gd
await_with_signals_no_warning.out
base_outer_resolution.gd
base_outer_resolution.out
base_outer_resolution_a.notest.gd
base_outer_resolution_b.notest.gd
base_outer_resolution_base.notest.gd
base_outer_resolution_c.notest.gd
base_outer_resolution_extend.notest.gd
boolean_operators_for_all_types.gd
boolean_operators_for_all_types.out
call_self_get_name.gd
call_self_get_name.out
call_static_builtin_function.gd
call_static_builtin_function.out
cast_enum_to_int.gd GDScript: Allow casting enum to int 2024-04-12 11:49:21 -03:00
cast_enum_to_int.out GDScript: Allow casting enum to int 2024-04-12 11:49:21 -03:00
cast_non_null.gd
cast_non_null.out
class_from_parent.gd
class_from_parent.out
class_inference_is_weak.gd
class_inference_is_weak.out
const_conversions.gd
const_conversions.out
constants_from_parent.gd
constants_from_parent.out
default_arg_convertable.gd
default_arg_convertable.out
enum_access_types.gd
enum_access_types.out
enum_as_const.gd
enum_as_const.out
enum_assign_enum_to_int_typed_var.gd
enum_assign_enum_to_int_typed_var.out
enum_assign_int_cast_to_same_enum.gd
enum_assign_int_cast_to_same_enum.out
enum_assign_other_enum_cast_to_same_enum.gd
enum_assign_other_enum_cast_to_same_enum.out
enum_assign_same_enum.gd
enum_assign_same_enum.out
enum_duplicate_into_dict.gd
enum_duplicate_into_dict.out
enum_from_base.gd
enum_from_base.out
enum_from_outer.gd
enum_from_outer.out
enum_function_typecheck.gd
enum_function_typecheck.out
enum_is_treated_as_int.gd
enum_is_treated_as_int.out
enum_named_no_shadow.gd
enum_named_no_shadow.out
enum_native_access_types.gd
enum_native_access_types.out
enum_type_is_treated_as_dictionary.gd
enum_type_is_treated_as_dictionary.out
enum_typecheck_inner_class.gd GDScript: Don't warn on unassigned for builtin-typed variables 2024-04-10 11:59:57 -03:00
enum_typecheck_inner_class.out
enum_unnamed_depend.gd
enum_unnamed_depend.out
enum_value_from_parent.gd
enum_value_from_parent.out
enums_in_range_call.gd
enums_in_range_call.out
export_enum_as_dictionary.gd GDScript: Add @export_storage annotation 2023-12-19 20:56:30 +03:00
export_enum_as_dictionary.out GDScript: Add @export_storage annotation 2023-12-19 20:56:30 +03:00
extend_abstract_class.gd
extend_abstract_class.out
external_enum_as_constant.gd
external_enum_as_constant.out
external_enum_as_constant_external.notest.gd
external_inner_base.gd
external_inner_base.out
external_inner_class_as_constant.gd
external_inner_class_as_constant.out
external_inner_class_as_constant_external.notest.gd
for_loop_on_variant.gd
for_loop_on_variant.out
for_range_usage.gd
for_range_usage.out
function_match_parent_signature_with_default_dict_void.gd
function_match_parent_signature_with_default_dict_void.out
function_match_parent_signature_with_extra_parameters.gd
function_match_parent_signature_with_extra_parameters.out
function_param_type_contravariance.gd GDScript: Add return type covariance and parameter type contravariance 2023-09-28 12:27:36 +03:00
function_param_type_contravariance.out GDScript: Add return type covariance and parameter type contravariance 2023-09-28 12:27:36 +03:00
function_return_type_covariance.gd GDScript: Add return type covariance and parameter type contravariance 2023-09-28 12:27:36 +03:00
function_return_type_covariance.out GDScript: Add return type covariance and parameter type contravariance 2023-09-28 12:27:36 +03:00
gdscript_to_preload.notest.gd
getter_return_type.gd
getter_return_type.out
global_enums.gd
global_enums.out
hard_variants.gd GDScript: Improve call analysis 2023-09-21 13:36:39 +03:00
hard_variants.out
infer_type_on_string_format.gd GDScript: Infer type with string format operator 2024-04-10 11:49:30 -03:00
infer_type_on_string_format.out GDScript: Infer type with string format operator 2024-04-10 11:49:30 -03:00
inferred_return_type.gd
inferred_return_type.out
inheritance_signature_check_no_meta.gd
inheritance_signature_check_no_meta.out
inner_base.gd
inner_base.out
inner_class_access_from_inside.gd GDScript: Fix "Identifier not found" error when accessing inner class from inside 2023-08-11 11:22:01 +03:00
inner_class_access_from_inside.out GDScript: Fix "Identifier not found" error when accessing inner class from inside 2023-08-11 11:22:01 +03:00
inner_class_as_return_type.gd
inner_class_as_return_type.out
lambda_cyclic_ref_body.gd GDScript: Fix lambda resolution with cyclic references 2023-08-25 16:29:11 +03:00
lambda_cyclic_ref_body.out GDScript: Fix lambda resolution with cyclic references 2023-08-25 16:29:11 +03:00
lambda_typed.gd
lambda_typed.out
local_const_as_type.gd GDScript: Allow use local constants as types 2023-08-25 17:04:04 +03:00
local_const_as_type.notest.gd GDScript: Allow use local constants as types 2023-08-25 17:04:04 +03:00
local_const_as_type.out GDScript: Allow use local constants as types 2023-08-25 17:04:04 +03:00
local_inference_is_weak.gd
local_inference_is_weak.out
lookup_class.gd
lookup_class.out
lookup_class_external.notest.gd
lookup_signal.gd
lookup_signal.out
native_typed_assign_null.gd
native_typed_assign_null.out
null_initializer.gd GDScript: Improve call analysis 2023-09-21 13:36:39 +03:00
null_initializer.out
onready_on_inner_class_with_non_node_outer.gd
onready_on_inner_class_with_non_node_outer.out
out_of_order.gd
out_of_order.out
out_of_order_external.gd
out_of_order_external.out
out_of_order_external_a.notest.gd
preload_constant_types_are_inferred.gd
preload_constant_types_are_inferred.out
preload_cyclic_reference.gd
preload_cyclic_reference.out
preload_cyclic_reference_a.notest.gd
preload_cyclic_reference_b.notest.gd
preload_script_native_type.gd
preload_script_native_type.notest.gd
preload_script_native_type.out
property_functions.gd
property_functions.out
property_inline.gd
property_inline.out
return_conversions.gd
return_conversions.out
return_variant_typed.gd
return_variant_typed.out
script_typed_assign_null.gd
script_typed_assign_null.out
static_method_builtin_type.gd
static_method_builtin_type.out
subscript_self.gd
subscript_self.out
ternary_hard_infer.gd
ternary_hard_infer.out
type_test_usage.gd
type_test_usage.out
typed_array_as_default_parameter.gd
typed_array_as_default_parameter.out
typed_array_dont_make_literal_typed_with_weak_type.gd GDScript: Don't make array literal typed in weak type context 2023-09-05 11:32:16 +03:00
typed_array_dont_make_literal_typed_with_weak_type.out GDScript: Don't make array literal typed in weak type context 2023-09-05 11:32:16 +03:00
typed_array_inferred_access_isnt_constant.gd
typed_array_inferred_access_isnt_constant.out
typed_array_usage.gd GDScript: Fix bug with identifier shadowed below in current scope 2023-07-26 11:26:57 +03:00
typed_array_usage.out
typed_array_with_custom_class.gd
typed_array_with_custom_class.out
unassigned_builtin_typed.gd GDScript: Don't warn on unassigned for builtin-typed variables 2024-04-10 11:59:57 -03:00
unassigned_builtin_typed.out GDScript: Don't warn on unassigned for builtin-typed variables 2024-04-10 11:59:57 -03:00
use_preload_script_as_type.gd
use_preload_script_as_type.out
vararg_call.gd
vararg_call.out
variant_arg_in_virtual_method.gd
variant_arg_in_virtual_method.out
virtual_method_implemented.gd GDScript: Add check for super() methods not being implemented 2023-09-17 16:21:28 -04:00
virtual_method_implemented.out GDScript: Add check for super() methods not being implemented 2023-09-17 16:21:28 -04:00
warning_ignore_targets.gd GDScript: Fix @warning_ignore annotation issues 2024-03-12 19:00:06 +03:00
warning_ignore_targets.out GDScript: Fix @warning_ignore annotation issues 2024-03-12 19:00:06 +03:00
warning_ignore_warnings.gd GDScript: Don't warn on unassigned for builtin-typed variables 2024-04-10 11:59:57 -03:00
warning_ignore_warnings.out GDScript: Fix @warning_ignore annotation issues 2024-03-12 19:00:06 +03:00
weak_initializer.gd
weak_initializer.out