GDScript: Fix object iterator opcodes

This commit is contained in:
Danil Alexeev 2024-03-18 14:51:46 +03:00
parent 11d3768132
commit 2778069025
No known key found for this signature in database
GPG key ID: 124453E157DA8DC7
3 changed files with 97 additions and 10 deletions

View file

@ -0,0 +1,30 @@
GDTEST_OK
id
node_path
data
===
id
node_path
data
===
_iter_init [<null>]
_iter_get 0
0
_iter_next [0]
_iter_get 1
1
_iter_next [1]
_iter_get 2
2
_iter_next [2]
===
_iter_init [<null>]
_iter_get 0
0
_iter_next [0]
_iter_get 1
1
_iter_next [1]
_iter_get 2
2
_iter_next [2]