put_complete_string should push the empty list to the heap for empty strings (#1209)
This commit is contained in:
@@ -147,7 +147,9 @@ pub(crate) fn put_complete_string(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
empty_list_as_cell!()
|
let h = heap.len();
|
||||||
|
heap.push(empty_list_as_cell!());
|
||||||
|
heap_loc_as_cell!(h)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user