1
0
Fork 0
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
confusable_identifier.gd
confusable_identifier.out
deprecated_operators.gd
deprecated_operators.out
empty_file.norun.gd
empty_file.norun.out
empty_file_comment.norun.gd
empty_file_comment.norun.out
empty_file_newline.norun.gd
empty_file_newline.norun.out
empty_file_newline_comment.norun.gd
empty_file_newline_comment.norun.out
enum_assign_int_without_casting.gd
enum_assign_int_without_casting.out
incompatible_ternary.gd
incompatible_ternary.out
integer_division.gd
integer_division.out
match_default_not_at_end.gd
match_default_not_at_end.out
narrowing_conversion.gd
narrowing_conversion.out
return_value_discarded.gd
return_value_discarded.out
shadowed_constant.gd
shadowed_constant.out
shadowed_global_identifier.gd
shadowed_global_identifier.out
shadowed_variable_class.gd
shadowed_variable_class.out
shadowed_variable_function.gd
shadowed_variable_function.out
standalone_expression.gd
standalone_expression.out
standalone_ternary.gd
standalone_ternary.out
static_called_on_instance.gd
static_called_on_instance.out
unassigned_variable.gd
unassigned_variable.out
unassigned_variable_op_assign.gd
unassigned_variable_op_assign.out
unreachable_code_after_return.gd
unreachable_code_after_return.out
unreachable_code_after_return_bug_55154.gd
unreachable_code_after_return_bug_55154.out
unused_argument.gd
unused_argument.out
unused_constant.gd
unused_constant.out
unused_variable.gd
unused_variable.out