You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Merge pull request #53843 from vnen/gdscript-typed-array-subscript-constant
Fix inferred typed array marked as constant
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# https://github.com/godotengine/godot/issues/53640
|
||||
|
||||
func test():
|
||||
var arr := [0]
|
||||
arr[0] = 1
|
||||
print(arr[0])
|
||||
@@ -0,0 +1,2 @@
|
||||
GDTEST_OK
|
||||
1
|
||||
Reference in New Issue
Block a user