switch to the next item in YArray's iterator after processing a Type item

This commit is contained in:
calibr
2019-01-16 03:12:58 +03:00
parent ec58a99748
commit dcf43b9797
2 changed files with 17 additions and 0 deletions

View File

@@ -189,6 +189,7 @@ export class YArray extends Type {
let content
if (this._item instanceof Type) {
content = this._item
this._item = this._item._right
} else {
content = this._item._content[this._itemElement++]
}