fix: the refactor on discharge value env (#393)

This commit is contained in:
Kasey
2023-02-18 20:49:29 -05:00
committed by GitHub
parent 1aea586cab
commit f3cdc05875
7 changed files with 618 additions and 5 deletions

View File

@@ -449,12 +449,12 @@ fn discharge_value(value: Rc<Value>) -> Rc<Term<NamedDeBruijn>> {
stack.push(DischargeStep::DischargeValueEnv(
lam_cnt,
env.clone(),
function.to_owned(),
argument.to_owned(),
));
stack.push(DischargeStep::DischargeValueEnv(
lam_cnt,
env,
argument.to_owned(),
function.to_owned(),
));
}
Term::Delay(body) => {