correct misspelled AttrVar in copier.rs
This commit is contained in:
@@ -89,7 +89,7 @@ pub(crate) trait CopierTarget: IndexMut<usize, Output=HeapCellValue>
|
|||||||
let rd = self.store(self.deref(ra));
|
let rd = self.store(self.deref(ra));
|
||||||
|
|
||||||
match rd.clone() {
|
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),
|
self[threshold] = HeapCellValue::Addr(rd),
|
||||||
ra @ Addr::AttrVar(_) | ra @ Addr::HeapCell(..) | ra @ Addr::StackCell(..) =>
|
ra @ Addr::AttrVar(_) | ra @ Addr::HeapCell(..) | ra @ Addr::StackCell(..) =>
|
||||||
if ra == rd {
|
if ra == rd {
|
||||||
|
|||||||
Reference in New Issue
Block a user