mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
GDScript: Reorganize and unify warnings
This commit is contained in:
@@ -2,4 +2,4 @@ GDTEST_OK
|
||||
>> WARNING
|
||||
>> Line: 2
|
||||
>> UNUSED_PARAMETER
|
||||
>> The parameter 'unused' is never used in the function ''. If this is intended, prefix it with an underscore: '_unused'
|
||||
>> The parameter "unused" is never used in the function "<anonymous lambda>()". If this is intended, prefix it with an underscore: "_unused".
|
||||
|
||||
@@ -2,5 +2,5 @@ GDTEST_OK
|
||||
>> WARNING
|
||||
>> Line: 4
|
||||
>> NATIVE_METHOD_OVERRIDE
|
||||
>> The method "get" overrides a method from native class "Object". This won't be called by the engine and may not work as expected.
|
||||
>> The method "get()" overrides a method from native class "Object". This won't be called by the engine and may not work as expected.
|
||||
warn
|
||||
|
||||
@@ -2,19 +2,19 @@ GDTEST_OK
|
||||
>> WARNING
|
||||
>> Line: 5
|
||||
>> SHADOWED_GLOBAL_IDENTIFIER
|
||||
>> The variable 'Array' has the same name as a built-in type.
|
||||
>> The variable "Array" has the same name as a built-in type.
|
||||
>> WARNING
|
||||
>> Line: 6
|
||||
>> SHADOWED_GLOBAL_IDENTIFIER
|
||||
>> The variable 'Node' has the same name as a global class.
|
||||
>> The variable "Node" has the same name as a global class.
|
||||
>> WARNING
|
||||
>> Line: 7
|
||||
>> SHADOWED_GLOBAL_IDENTIFIER
|
||||
>> The variable 'is_same' has the same name as a built-in function.
|
||||
>> The variable "is_same" has the same name as a built-in function.
|
||||
>> WARNING
|
||||
>> Line: 8
|
||||
>> SHADOWED_GLOBAL_IDENTIFIER
|
||||
>> The variable 'sqrt' has the same name as a built-in function.
|
||||
>> The variable "sqrt" has the same name as a built-in function.
|
||||
>> WARNING
|
||||
>> Line: 9
|
||||
>> SHADOWED_VARIABLE
|
||||
|
||||
Reference in New Issue
Block a user