1
0
Fork 0
godot/modules/gdscript/tests/scripts/analyzer/errors
ocean (they/them) 6c28b8edd3 GDScript: fix regression when checking for virtual function implementation.
Unfortunately it appears the virtual function checks in #77324 are not
trustworthy at runtime, because objects can have scripts attached, but
this information is not always available at compile-time. These checks
need to be removed.

The rest of the PR is still useful, making all method flags available to
the analyzer, so a full revert isn't necessary/desirable.

This reopens #76938, which will need another solution.
2023-06-21 15:13:45 -04:00
..
abstract_class_instantiate.gd
abstract_class_instantiate.out
abstract_script_instantiate.gd
abstract_script_instantiate.out
annotation_non_constant_parameter.gd
annotation_non_constant_parameter.out
assign_enum.gd
assign_enum.out
assign_named_enum.gd
assign_named_enum.out
assign_signal.gd
assign_signal.out
assign_to_read_only_property.gd GDScript: Improve usability of setter chains 2023-02-02 10:20:35 -03:00
assign_to_read_only_property.out GDScript: Improve usability of setter chains 2023-02-02 10:20:35 -03:00
assign_to_read_only_property_indirectly.gd GDScript: Improve usability of setter chains 2023-02-02 10:20:35 -03:00
assign_to_read_only_property_indirectly.out GDScript: Improve usability of setter chains 2023-02-02 10:20:35 -03:00
assymetric_assignment_bad.gd
assymetric_assignment_bad.out
await_signal_no_infer.gd GDScript: Fix `await` type inference 2023-02-06 23:02:14 +03:00
await_signal_no_infer.out GDScript: Fix `await` type inference 2023-02-06 23:02:14 +03:00
bitwise_float_left_operand.gd
bitwise_float_left_operand.out
bitwise_float_right_operand.gd
bitwise_float_right_operand.out
class_name_shadows_builtin_type.gd
class_name_shadows_builtin_type.out
constant_array_index_assign.gd
constant_array_index_assign.out
constant_dictionary_index_assign.gd
constant_dictionary_index_assign.out
constant_name_shadows_builtin_type.gd
constant_name_shadows_builtin_type.out
constant_subscript_type.gd
constant_subscript_type.out
constant_used_as_function.gd
constant_used_as_function.out
constructor_call_type.gd
constructor_call_type.out
cyclic_inheritance.gd
cyclic_inheritance.out
cyclic_ref_const.gd
cyclic_ref_const.out
cyclic_ref_enum.gd
cyclic_ref_enum.out
cyclic_ref_enum_value.gd
cyclic_ref_enum_value.out
cyclic_ref_external.gd
cyclic_ref_external.out
cyclic_ref_external_a.notest.gd
cyclic_ref_func.gd
cyclic_ref_func.out
cyclic_ref_override.gd
cyclic_ref_override.out
cyclic_ref_var.gd
cyclic_ref_var.out
dictionary_duplicate_key_lua.gd
dictionary_duplicate_key_lua.out
dictionary_duplicate_key_lua_with_string.gd
dictionary_duplicate_key_lua_with_string.out
dictionary_duplicate_key_python.gd
dictionary_duplicate_key_python.out
dictionary_string_stringname_equivalent.gd
dictionary_string_stringname_equivalent.out
enum_bad_method.gd
enum_bad_method.out
enum_bad_value.gd
enum_bad_value.out Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
enum_class_var_assign_with_wrong_enum_type.gd
enum_class_var_assign_with_wrong_enum_type.out Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
enum_class_var_init_with_wrong_enum_type.gd
enum_class_var_init_with_wrong_enum_type.out Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
enum_duplicate_bad_method.gd
enum_duplicate_bad_method.out
enum_float_value.gd
enum_float_value.out
enum_function_parameter_wrong_type.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
enum_function_parameter_wrong_type.out Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
enum_function_return_wrong_type.gd
enum_function_return_wrong_type.out Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
enum_local_var_assign_outer_with_wrong_enum_type.gd
enum_local_var_assign_outer_with_wrong_enum_type.out Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
enum_local_var_assign_with_wrong_enum_type.gd
enum_local_var_assign_with_wrong_enum_type.out Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
enum_local_var_init_with_wrong_enum_type.gd
enum_local_var_init_with_wrong_enum_type.out Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
enum_name_shadows_builtin_type.gd
enum_name_shadows_builtin_type.out
enum_native_bad_value.gd
enum_native_bad_value.out Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
enum_preload_unnamed_assign_to_named.gd
enum_preload_unnamed_assign_to_named.out Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
enum_shadows_base_enum.gd
enum_shadows_base_enum.out
enum_string_value.gd
enum_string_value.out
enum_unnamed_assign_to_named.gd
enum_unnamed_assign_to_named.out Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
extend_non_class_constant_1.gd GDScript: Add missing member type check when resolving `extends` 2023-04-10 17:16:07 +03:00
extend_non_class_constant_1.out GDScript: Add missing member type check when resolving `extends` 2023-04-10 17:16:07 +03:00
extend_non_class_constant_2.gd GDScript: Add missing member type check when resolving `extends` 2023-04-10 17:16:07 +03:00
extend_non_class_constant_2.out GDScript: Add missing member type check when resolving `extends` 2023-04-10 17:16:07 +03:00
extend_non_gdscript_nested.gd GDScript: Change parser representation of class extends 2023-03-13 01:40:13 +02:00
extend_non_gdscript_nested.out GDScript: Change parser representation of class extends 2023-03-13 01:40:13 +02:00
extend_unknown.gd GDScript: Change parser representation of class extends 2023-03-13 01:40:13 +02:00
extend_unknown.out GDScript: Change parser representation of class extends 2023-03-13 01:40:13 +02:00
extend_variable.gd GDScript: Add missing member type check when resolving `extends` 2023-04-10 17:16:07 +03:00
extend_variable.out GDScript: Add missing member type check when resolving `extends` 2023-04-10 17:16:07 +03:00
for_loop_on_constant_float.gd
for_loop_on_constant_float.out
for_loop_on_constant_int.gd
for_loop_on_constant_int.out
for_loop_on_enum_value.gd
for_loop_on_enum_value.out
for_loop_on_hard_float.gd
for_loop_on_hard_float.out
for_loop_on_hard_int.gd
for_loop_on_hard_int.out
for_loop_on_hard_iterator.gd
for_loop_on_hard_iterator.out
for_loop_on_hard_string.gd
for_loop_on_hard_string.out
for_loop_on_literal_bool.gd
for_loop_on_literal_bool.out
for_loop_on_literal_int.gd
for_loop_on_literal_int.out
function_dont_match_parent_signature_parameter_count_less.gd
function_dont_match_parent_signature_parameter_count_less.out
function_dont_match_parent_signature_parameter_count_more.gd
function_dont_match_parent_signature_parameter_count_more.out
function_dont_match_parent_signature_parameter_default_values.gd
function_dont_match_parent_signature_parameter_default_values.out GDScript: Add warnings that are set to error by default 2023-02-02 12:07:25 -03:00
function_dont_match_parent_signature_parameter_type.gd
function_dont_match_parent_signature_parameter_type.out
function_dont_match_parent_signature_return_type.gd
function_dont_match_parent_signature_return_type.out
function_used_as_property.gd
function_used_as_property.out
get_node_shorthand_within_non_node.gd GDScript: Don't allow @onready without inheriting Node 2023-02-06 10:45:38 -03:00
get_node_shorthand_within_non_node.out GDScript: Don't allow @onready without inheriting Node 2023-02-06 10:45:38 -03:00
incompatible_assignment.gd
incompatible_assignment.out
inferring_with_weak_type_local_variable.gd
inferring_with_weak_type_local_variable.out
inferring_with_weak_type_member_variable.gd
inferring_with_weak_type_member_variable.out
inferring_with_weak_type_parameter.gd
inferring_with_weak_type_parameter.out
invalid_array_index.gd
invalid_array_index.out
invalid_concatenation_bool.gd
invalid_concatenation_bool.out
invalid_concatenation_dictionary.gd
invalid_concatenation_dictionary.out
invalid_concatenation_mixed.gd
invalid_concatenation_mixed.out
invalid_constant.gd
invalid_constant.out
lambda_no_return.gd
lambda_no_return.out
lambda_wrong_return.gd
lambda_wrong_return.out
leading_number_separator.gd
leading_number_separator.out
match_with_subscript.gd
match_with_subscript.out
match_with_variable_expression.gd
match_with_variable_expression.out
missing_argument.gd
missing_argument.out
native_freed_instance.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
native_freed_instance.out Fix crash by freed object assign to typed variable 2023-02-16 15:17:46 -05:00
native_type_errors.gd
native_type_errors.out
not_found_type.gd GDScript: Fix error message for unfound type 2023-02-21 23:00:29 +02:00
not_found_type.out GDScript: Fix error message for unfound type 2023-02-21 23:00:29 +02:00
onready_within_non_node.gd GDScript: Don't allow @onready without inheriting Node 2023-02-06 10:45:38 -03:00
onready_within_non_node.out GDScript: Don't allow @onready without inheriting Node 2023-02-06 10:45:38 -03:00
onready_within_non_node_inner_class.gd GDScript: Fix inheritance check of @onready for inner classes 2023-02-06 14:52:13 -03:00
onready_within_non_node_inner_class.out GDScript: Fix inheritance check of @onready for inner classes 2023-02-06 14:52:13 -03:00
outer_class_constants.gd
outer_class_constants.out
outer_class_constants_as_variant.gd
outer_class_constants_as_variant.out
outer_class_instance_constants.gd
outer_class_instance_constants.out
outer_class_instance_constants_as_variant.gd
outer_class_instance_constants_as_variant.out
outer_class_lookup.gd
outer_class_lookup.out
overload_script_variable.gd
overload_script_variable.out
params_default_forward_reference.gd
params_default_forward_reference.out
preload_enum_error.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
preload_enum_error.out Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
prints_base_type_not_found.gd Make type not found errors more informative. 2023-04-02 18:30:30 -04:00
prints_base_type_not_found.out Make type not found errors more informative. 2023-04-02 18:30:30 -04:00
property_function_get_type_error.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
property_function_get_type_error.out
property_function_set_type_error.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
property_function_set_type_error.out
property_inline_get_type_error.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
property_inline_get_type_error.out
property_inline_set_type_error.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
property_inline_set_type_error.out
property_used_as_function.gd
property_used_as_function.out
redefine_class_constant.gd
redefine_class_constant.out
redefine_local_constant.gd
redefine_local_constant.out
return_null_in_void_func.gd
return_null_in_void_func.out
return_variant_in_void_func.gd
return_variant_in_void_func.out
script_freed_instance.gd Fix GDScript code style regarding colon 2023-03-05 17:03:20 +03:00
script_freed_instance.out Fix crash by freed object assign to typed variable 2023-02-16 15:17:46 -05:00
setter_parameter_uses_property_type.gd
setter_parameter_uses_property_type.out
static_constructor_with_return_type.gd Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_constructor_with_return_type.out Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_func_call_non_static.gd GDScript: Fix calling static func from non-static is allowed 2023-05-17 10:25:03 +03:00
static_func_call_non_static.out GDScript: Fix calling static func from non-static is allowed 2023-05-17 10:25:03 +03:00
static_var_export_annotation.gd GDScript: Fix some bugs with static variables and functions 2023-06-16 22:52:11 +03:00
static_var_export_annotation.out GDScript: Fix some bugs with static variables and functions 2023-06-16 22:52:11 +03:00
static_var_init_non_static_call.gd Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
static_var_init_non_static_call.out Add support for static variables in GDScript 2023-04-27 09:51:44 -03:00
super_nonexistent_base_method.gd
super_nonexistent_base_method.out
ternary_weak_infer.gd GDScript: Fix type certainty for result of ternary operator 2023-02-01 14:52:29 +02:00
ternary_weak_infer.out GDScript: Fix type certainty for result of ternary operator 2023-02-01 14:52:29 +02:00
typed_array_assign_differently_typed.gd
typed_array_assign_differently_typed.out
typed_array_assignment.gd
typed_array_assignment.out
typed_array_init_with_unconvertable_in_literal.gd
typed_array_init_with_unconvertable_in_literal.out
typed_array_pass_differently_to_typed.gd
typed_array_pass_differently_to_typed.out
use_value_of_void_function_builtin_method.gd
use_value_of_void_function_builtin_method.out
use_value_of_void_function_custom_method.gd
use_value_of_void_function_custom_method.out
use_value_of_void_function_gd_utility.gd
use_value_of_void_function_gd_utility.out
use_value_of_void_function_native_method.gd
use_value_of_void_function_native_method.out
use_value_of_void_function_utility.gd
use_value_of_void_function_utility.out
variable_name_shadows_builtin_type.gd
variable_name_shadows_builtin_type.out
variable_overloads_superclass_function.gd
variable_overloads_superclass_function.out