diff options
author | Nadrieril | 2019-04-12 16:45:30 +0200 |
---|---|---|
committer | Nadrieril | 2019-04-12 16:45:30 +0200 |
commit | b198106077b27087903c80aa3550a1c25e89f1fa (patch) | |
tree | d135412956b4c8ea2df62c4bc92cb79e16190e84 /dhall_core/src | |
parent | 539a47b19b6b0e2e7dbbbf7511285c41ee161860 (diff) |
oops
Diffstat (limited to '')
-rw-r--r-- | dhall_core/src/parser.rs | 6 |
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)] |