GDScript: Fix bug with identifier shadowed below in current scope

This commit is contained in:
Danil Alexeev
2023-07-25 14:21:49 +03:00
parent 202e4b2c1e
commit d53fc92b4c
19 changed files with 367 additions and 213 deletions
@@ -126,7 +126,7 @@ func test():
assert(a_objects.get_typed_builtin() == TYPE_OBJECT)
assert(a_objects.get_typed_script() == A)
var a_passed = (func check_a_passing(a_objects: Array[A]): return a_objects.size()).call(a_objects)
var a_passed = (func check_a_passing(p_objects: Array[A]): return p_objects.size()).call(a_objects)
assert(a_passed == 4)
var b_passed = (func check_b_passing(basic: Array): return basic[0] != null).call(b_objects)