GDScript: Fix bug with identifier shadowed below in current scope
This commit is contained in:
parent
202e4b2c1e
commit
d53fc92b4c
19 changed files with 367 additions and 213 deletions
|
|
@ -0,0 +1,11 @@
|
|||
GDTEST_OK
|
||||
>> WARNING
|
||||
>> Line: 4
|
||||
>> CONFUSABLE_LOCAL_USAGE
|
||||
>> The identifier "a" will be shadowed below in the block.
|
||||
>> WARNING
|
||||
>> Line: 5
|
||||
>> SHADOWED_VARIABLE
|
||||
>> The local variable "a" is shadowing an already-declared variable at line 1.
|
||||
1
|
||||
2
|
||||
Loading…
Add table
Add a link
Reference in a new issue