1
0
Fork 0
godot/modules/gdscript/tests/scripts/analyzer/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
..
cast_enum_bad_enum.gd
cast_enum_bad_enum.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
cast_enum_bad_int.gd
cast_enum_bad_int.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
confusable_capture_reassignment.gd
confusable_capture_reassignment.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
confusable_local_declaration.gd
confusable_local_declaration.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
confusable_local_usage.gd
confusable_local_usage.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
confusable_local_usage_initializer.gd
confusable_local_usage_initializer.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
confusable_local_usage_loop.gd
confusable_local_usage_loop.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
enum_without_default_value.gd
enum_without_default_value.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
get_node_without_onready.gd Display correct symbol in warning when unique name is used without @onready annotation 2025-02-06 10:49:08 -08:00
get_node_without_onready.out Fix a few GDScript warning messages for grammar and consistency 2025-05-06 20:28:01 -07:00
inference_with_variant.gd
inference_with_variant.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
lambda_shadowing_arg.gd
lambda_shadowing_arg.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
lambda_unused_arg.gd
lambda_unused_arg.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
non_tool_extends_tool.gd
non_tool_extends_tool.notest.gd
non_tool_extends_tool.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
non_tool_extends_tool_ignored.gd
non_tool_extends_tool_ignored.out
onready_with_export.gd
onready_with_export.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
overriding_native_method.gd
overriding_native_method.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
redundant_await.gd
redundant_await.out Fix a few GDScript warning messages for grammar and consistency 2025-05-06 20:28:01 -07:00
shadowing_base.notest.gd Fix analyzer pushing SHADOWED_VARIABLE warning for members shadowed in subclasses 2024-11-06 15:04:14 +00:00
shadowning.gd GDScript: Add `@warning_ignore_start` and `@warning_ignore_restore` annotations 2024-12-06 15:37:02 +03:00
shadowning.out GDScript: Add `@warning_ignore_start` and `@warning_ignore_restore` annotations 2024-12-06 15:37:02 +03:00
unsafe_call_argument.gd
unsafe_call_argument.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
unsafe_cast.gd
unsafe_cast.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
unused_private_class_variable.gd
unused_private_class_variable.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00
unused_signal.gd
unused_signal.out GDScript: Support tracking multiple analyzer and runtime errors in tests 2024-11-21 22:09:50 +03:00