From b198106077b27087903c80aa3550a1c25e89f1fa Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Fri, 12 Apr 2019 16:45:30 +0200 Subject: oops --- dhall_core/src/parser.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dhall_core/src/parser.rs b/dhall_core/src/parser.rs index 62135a3..e83f8a4 100644 --- a/dhall_core/src/parser.rs +++ b/dhall_core/src/parser.rs @@ -30,8 +30,10 @@ fn rc<'a>(x: ParsedExpr<'a>) -> ParsedSubExpr<'a> { crate::rc(x) } -fn spanned<'a>(span: Span<'a>, x: ParsedExpr<'a>) -> ParsedExpr<'a> { - Note(span, rc(x)) +fn spanned<'a>(_span: Span<'a>, x: ParsedExpr<'a>) -> ParsedExpr<'a> { + x + // This breaks equality testing; I need to fix that first + // Note(span, rc(x)) } #[derive(Debug)] -- cgit v1.2.3