From 6c06aefc5a6184f9411316990d9223447b022aa0 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Thu, 9 May 2019 10:06:17 +0200 Subject: Correctly shift free variables in normalization --- dhall/src/core/context.rs | 20 ++++++++++---------- dhall/src/phase/normalize.rs | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'dhall') diff --git a/dhall/src/core/context.rs b/dhall/src/core/context.rs index 0483c4d..236bebe 100644 --- a/dhall/src/core/context.rs +++ b/dhall/src/core/context.rs @@ -44,7 +44,7 @@ impl Context { vec.push((x.clone(), CtxItem::Replaced(th, t))); Context(Rc::new(vec)) } - pub(crate) fn lookup(&self, var: &V