diff options
author | Nadrieril | 2019-03-21 22:08:23 +0100 |
---|---|---|
committer | Nadrieril | 2019-03-21 22:08:23 +0100 |
commit | 4b99a3fb46191a83fa8551f21b98cff689bbb338 (patch) | |
tree | 0d07b39dbcf794c9fe1174aeb6fb4923df2fd9b7 /dhall_core/src/core.rs | |
parent | ea08d2528d2ee46446ac8981e72af5c610e43ce1 (diff) |
Improve import handling in parser
Diffstat (limited to '')
-rw-r--r-- | dhall_core/src/core.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dhall_core/src/core.rs b/dhall_core/src/core.rs index 9f26b65..bc5a666 100644 --- a/dhall_core/src/core.rs +++ b/dhall_core/src/core.rs @@ -164,9 +164,9 @@ pub enum Builtin { TextShow, } -pub type ParsedExpr<S> = SubExpr<S, Import>; -pub type ResolvedExpr<S> = SubExpr<S, X>; -pub type DhallExpr = ResolvedExpr<X>; +pub type ParsedExpr = SubExpr<X, Import>; +pub type ResolvedExpr = SubExpr<X, X>; +pub type DhallExpr = ResolvedExpr; pub type SubExpr<Note, Embed> = Rc<Expr<Note, Embed>>; |