diff options
author | Dmitrii Maganov <vonagam@gmail.com> | 2022-12-05 20:24:11 +0200 |
---|---|---|
committer | Dmitrii Maganov <vonagam@gmail.com> | 2022-12-06 00:22:56 +0200 |
commit | 97280279ee45b628f9786548f6d7979836fd6ac5 (patch) | |
tree | bde548fa5d1ed4687e32a1d7e0dc5bbecaa60840 /modules/gdscript/tests/scripts/runtime/features/parameter_shadowing.out | |
parent | f3e6750a7e4702918e05f42b1376e30e652f2f90 (diff) |
Fix incomplete shadowing of member properties by parameters
Diffstat (limited to 'modules/gdscript/tests/scripts/runtime/features/parameter_shadowing.out')
-rw-r--r-- | modules/gdscript/tests/scripts/runtime/features/parameter_shadowing.out | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/runtime/features/parameter_shadowing.out b/modules/gdscript/tests/scripts/runtime/features/parameter_shadowing.out new file mode 100644 index 0000000000..5b981bc8bb --- /dev/null +++ b/modules/gdscript/tests/scripts/runtime/features/parameter_shadowing.out @@ -0,0 +1,17 @@ +GDTEST_OK +>> WARNING +>> Line: 5 +>> SHADOWED_VARIABLE +>> The local function parameter "a" is shadowing an already-declared variable at line 3. +>> WARNING +>> Line: 15 +>> SHADOWED_VARIABLE +>> The local function parameter "v" is shadowing an already-declared variable at line 13. +a +1 +b +1 +(1, 1) +(0, 0) +(6, 1) +(0, 0) |