summaryrefslogtreecommitdiff
path: root/modules/gdscript/tests/scripts/parser/warnings/shadowed_variable_class.out
blob: 82e467b36813278f4e9e1919b462bb72d58eb6f5 (plain)
1
2
3
4
5
6
7
8
9
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.