mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Merge pull request #76412 from dalexeev/gds-reorganize-warnings
GDScript: Reorganize and unify warnings
This commit is contained in:
@@ -2,7 +2,7 @@ GDTEST_OK
|
||||
>> WARNING
|
||||
>> Line: 20
|
||||
>> UNSAFE_VOID_RETURN
|
||||
>> The method 'return_side_effect()' returns 'void' but it's trying to return a call to 'side_effect()' that can't be ensured to also be 'void'.
|
||||
>> The method "return_side_effect()" returns "void" but it's trying to return a call to "side_effect()" that can't be ensured to also be "void".
|
||||
hello
|
||||
effect
|
||||
effect
|
||||
|
||||
@@ -2,5 +2,5 @@ GDTEST_OK
|
||||
>> WARNING
|
||||
>> Line: 6
|
||||
>> UNSAFE_METHOD_ACCESS
|
||||
>> The method 'free' is not present on the inferred type 'Variant' (but may be present on a subtype).
|
||||
>> The method "free()" is not present on the inferred type "Variant" (but may be present on a subtype).
|
||||
Ok
|
||||
|
||||
Reference in New Issue
Block a user