summaryrefslogtreecommitdiff
path: root/dhall_core
diff options
context:
space:
mode:
Diffstat (limited to 'dhall_core')
-rw-r--r--dhall_core/src/parser.rs6
1 files 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)]