godot/modules/gdscript/tests/scripts/parser/warnings
Malcolm Anderson d8db03e31a Fix a few GDScript warning messages for grammar and consistency
Regenerate test results

Improve warning message for `INT_AS_ENUM_WITHOUT_CAST`

Improve `REDUNDANT_AWAIT` message and regenerate tests

Allow warning message for UNASSIGNED_VARIABLE_OP_ASSIGN to display specific operator

Remove "being" from some messages to make them consistent and clearer

Update expected test results

Use Variant::get_operator_name for determining string representation of operator instead of big switch-case

Update tests

Update modules/gdscript/gdscript_warning.cpp

Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>

Update tests... again
2025-05-06 20:28:01 -07:00
..
assert_always_true.gd
assert_always_true.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
confusable_identifier.gd GDScript: Be more lenient with identifiers 2023-02-09 11:19:05 -03:00
confusable_identifier.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
deprecated_operators.gd
deprecated_operators.out
empty_file.norun.gd GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
empty_file.norun.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
empty_file_comment.norun.gd GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
empty_file_comment.norun.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
empty_file_newline.norun.gd GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
empty_file_newline.norun.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
empty_file_newline_comment.norun.gd GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
empty_file_newline_comment.norun.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
enum_assign_int_without_casting.gd
enum_assign_int_without_casting.out Fix a few GDScript warning messages for grammar and consistency 2025-05-06 20:28:01 -07:00
incompatible_ternary.gd
incompatible_ternary.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
integer_division.gd
integer_division.out Fix a few GDScript warning messages for grammar and consistency 2025-05-06 20:28:01 -07:00
match_default_not_at_end.gd
match_default_not_at_end.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
narrowing_conversion.gd
narrowing_conversion.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
return_value_discarded.gd GDScript: Fix STANDALONE_EXPRESSION warning for preload() 2024-05-17 10:33:01 +03:00
return_value_discarded.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
shadowed_constant.gd
shadowed_constant.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
shadowed_global_identifier.gd
shadowed_global_identifier.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
shadowed_variable_class.gd
shadowed_variable_class.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
shadowed_variable_function.gd
shadowed_variable_function.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
standalone_expression.gd GDScript: Fix STANDALONE_EXPRESSION warning for preload() 2024-05-17 10:33:01 +03:00
standalone_expression.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
standalone_ternary.gd GDScript: Fix @warning_ignore annotation issues 2024-03-12 19:00:06 +03:00
standalone_ternary.out Fix a few GDScript warning messages for grammar and consistency 2025-05-06 20:28:01 -07:00
static_called_on_instance.gd GDScript: Adjust STATIC_CALLED_ON_INSTANCE warning to not default to the native type, and to not trigger on self-calls 2024-03-01 17:14:59 +03:00
static_called_on_instance.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
unassigned_variable.gd GDScript: Don't warn on unassigned for builtin-typed variables 2024-04-10 11:59:57 -03:00
unassigned_variable.out Fix a few GDScript warning messages for grammar and consistency 2025-05-06 20:28:01 -07:00
unassigned_variable_op_assign.gd
unassigned_variable_op_assign.out Fix a few GDScript warning messages for grammar and consistency 2025-05-06 20:28:01 -07:00
unreachable_code_after_return.gd
unreachable_code_after_return.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
unreachable_code_after_return_bug_55154.gd
unreachable_code_after_return_bug_55154.out
unused_argument.gd
unused_argument.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
unused_constant.gd GDScript: Suppress unused constant warning with underscore 2024-04-18 09:58:23 -03:00
unused_constant.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
unused_variable.gd
unused_variable.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00