From 8cbec8c75d9e52091bdfe28b60b6ee698d9c1392 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 27 Dec 2019 17:23:21 +0000 Subject: Store corresponding binder id in AlphaVar --- dhall/src/semantics/core/var.rs | 24 ++++++++++++++---------- dhall/src/semantics/phase/typecheck.rs | 3 ++- 2 files changed, 16 insertions(+), 11 deletions(-) (limited to 'dhall') diff --git a/dhall/src/semantics/core/var.rs b/dhall/src/semantics/core/var.rs index 28ddadd..98b315e 100644 --- a/dhall/src/semantics/core/var.rs +++ b/dhall/src/semantics/core/var.rs @@ -9,6 +9,8 @@ use crate::syntax::{ExprKind, InterpolatedTextContents, Label, V}; pub struct AlphaVar { normal: V