module-qualify incomplete goals in expand_goal/3

This commit is contained in:
Mark Thom
2021-12-12 10:58:42 -07:00
parent 708c3bc3ce
commit b056d40eba
4 changed files with 3 additions and 11 deletions

View File

@@ -1125,9 +1125,6 @@ impl<'a, Outputter: HCValueOutputter> HCPrinter<'a, Outputter> {
return self.push_list(max_depth);
}
// let end_h = heap_pstr_iter.focus();
// let end_cell = self.iter.heap[end_h];
let end_h = heap_pstr_iter.focus();
let end_cell = heap_pstr_iter.focus;
@@ -1146,7 +1143,7 @@ impl<'a, Outputter: HCValueOutputter> HCPrinter<'a, Outputter> {
if self.ignore_ops {
if !self.print_string_as_functor(focus, max_depth) {
if end_cell == empty_list_as_cell!() { // end_cell.get_tag() == HeapCellValueTag::CStr {
if end_cell == empty_list_as_cell!() {
append_str!(self, "[]");
} else {
if self.outputter.ends_with(",") {