Merge pull request #3124 from bakaq/mark-partial-string-tail

Fix marking of partial string tail in iteration
This commit is contained in:
Mark Thom
2025-10-20 19:46:11 -07:00
committed by GitHub

View File

@@ -118,8 +118,8 @@ impl<'a> EagerStackfulPreOrderHeapIter<'a> {
(HeapCellValueTag::PStrLoc, h) => {
let tail_idx = self.heap.scan_slice_to_str(h).tail_idx;
self.heap[tail_idx].set_mark_bit(self.mark_phase);
self.iter_stack.push(self.heap[tail_idx]);
self.heap[tail_idx].set_mark_bit(self.mark_phase);
}
_ => {
}