GDScript: Fix inferred typed array marked as constant

This commit is contained in:
George Marques
2021-10-15 10:40:50 -03:00
parent 342c1bf1e2
commit 540821a264
3 changed files with 11 additions and 0 deletions
@@ -0,0 +1,6 @@
# https://github.com/godotengine/godot/issues/53640
func test():
var arr := [0]
arr[0] = 1
print(arr[0])