You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
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
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
GDTEST_OK
|
||||
~~ WARNING at line 3: (UNASSIGNED_VARIABLE) The variable "unassigned" was used before being assigned a value.
|
||||
~~ WARNING at line 7: (UNASSIGNED_VARIABLE) The variable "a" was used before being assigned a value.
|
||||
~~ WARNING at line 8: (UNASSIGNED_VARIABLE) The variable "a" was used before being assigned a value.
|
||||
~~ WARNING at line 3: (UNASSIGNED_VARIABLE) The variable "unassigned" is used before being assigned a value.
|
||||
~~ WARNING at line 7: (UNASSIGNED_VARIABLE) The variable "a" is used before being assigned a value.
|
||||
~~ WARNING at line 8: (UNASSIGNED_VARIABLE) The variable "a" is used before being assigned a value.
|
||||
<null>
|
||||
<null>
|
||||
<null>
|
||||
|
||||
Reference in New Issue
Block a user