summaryrefslogtreecommitdiff
path: root/dhall/src/semantics/hir.rs
diff options
context:
space:
mode:
authorNadrieril2020-02-13 20:45:42 +0000
committerNadrieril2020-02-13 20:45:42 +0000
commite25b67906ce68e8726e8139c1d1855f3ab2518ce (patch)
tree706e8873e371f9bbedd8ab1315dcfa7ef34ccaa7 /dhall/src/semantics/hir.rs
parentf29a40fb55b898b3a3cc51f198e8522eaecf0777 (diff)
Rework annotation and Sort handling
Diffstat (limited to '')
-rw-r--r--dhall/src/semantics/hir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/semantics/hir.rs b/dhall/src/semantics/hir.rs
index f91aa73..e4e2a5f 100644
--- a/dhall/src/semantics/hir.rs
+++ b/dhall/src/semantics/hir.rs
@@ -72,7 +72,7 @@ impl Hir {
/// Typecheck the Hir.
pub fn typecheck(&self, env: &TyEnv) -> Result<TyExpr, TypeError> {
- type_with(env, self)
+ type_with(env, self, None)
}
/// Eval the Hir. It will actually get evaluated only as needed on demand.