correct misspelled AttrVar in copier.rs

This commit is contained in:
Mark Thom
2019-02-05 19:43:16 -07:00
parent 3f5ff2eae1
commit 9f8dd56c3c

View File

@@ -89,7 +89,7 @@ pub(crate) trait CopierTarget: IndexMut<usize, Output=HeapCellValue>
let rd = self.store(self.deref(ra));
match rd.clone() {
Addr::AttrVal(h) | Addr::HeapCell(h) if h >= old_h =>
Addr::AttrVar(h) | Addr::HeapCell(h) if h >= old_h =>
self[threshold] = HeapCellValue::Addr(rd),
ra @ Addr::AttrVar(_) | ra @ Addr::HeapCell(..) | ra @ Addr::StackCell(..) =>
if ra == rd {