godot/modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_class.out

10 lines
302 B
Plaintext
Raw Normal View History

GDTEST_OK
>> WARNING
>> Line: 8
>> UNUSED_VARIABLE
>> The local variable 'foo' is declared but never used in the block. If this is intended, prefix it with an underscore: '_foo'
>> WARNING
>> Line: 8
>> SHADOWED_VARIABLE
>> The local variable "foo" is shadowing an already-declared variable at line 1.