summaryrefslogtreecommitdiff
path: root/dhall_core/src/parser.rs
diff options
context:
space:
mode:
authorNadrieril2019-04-18 12:10:47 +0200
committerNadrieril2019-04-18 12:11:38 +0200
commitcb24b56d83479c0fd95bf4dd09879118f4e3afd6 (patch)
treeb6f37fd10abcb6b4f7aa3ce6e371156f2d53e4c7 /dhall_core/src/parser.rs
parent30397d3638b47557333935b24cfbfced69e40e9d (diff)
Deprecate some things
Diffstat (limited to '')
-rw-r--r--dhall_core/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall_core/src/parser.rs b/dhall_core/src/parser.rs
index 1e47c16..2a30b2b 100644
--- a/dhall_core/src/parser.rs
+++ b/dhall_core/src/parser.rs
@@ -746,7 +746,7 @@ make_parser! {
rule!(application_expression<ParsedExpr<'a>> as expression; span; children!(
[expression(e)] => e,
[expression(first), expression(rest)..] => {
- spanned(span, app(first, rest.map(rc).collect()))
+ spanned(span, App(rc(first), rest.map(rc).collect()))
},
));