summaryrefslogtreecommitdiff
path: root/dhall
diff options
context:
space:
mode:
Diffstat (limited to 'dhall')
-rw-r--r--dhall/src/operations/typecheck.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/operations/typecheck.rs b/dhall/src/operations/typecheck.rs
index bab80dc..9329aff 100644
--- a/dhall/src/operations/typecheck.rs
+++ b/dhall/src/operations/typecheck.rs
@@ -542,7 +542,7 @@ pub fn typecheck_operation(
nir = Nir::from_kind(rec);
}
- nir.to_type(Const::Type)
+ Type::new_infer_universe(env, nir)?
}
Completion(..) => {
unreachable!("This case should have been handled in resolution")