fix iteration of sub-struct

This commit is contained in:
Michael Davidsaver
2020-03-07 17:31:00 -08:00
parent 2e8d4beb02
commit 056fb2c27b
+1 -1
View File
@@ -746,7 +746,7 @@ void Value::_iter_fl(Value::IterInfo &info, bool first) const
throw NoField();
if(info.depth) {
info.pos = info.nextcheck = store->index() + (first ? 1u : desc->size());
info.pos = info.nextcheck = first ? 1u : desc->size();
if(info.marked)
_iter_advance(info);