diff options
author | Basile Henry | 2020-11-02 23:38:03 +0100 |
---|---|---|
committer | Basile Henry | 2020-11-02 23:38:03 +0100 |
commit | 6375a0f2c3b123af5b1ff8c79d02caef6d2ed7e1 (patch) | |
tree | 68f41d48673eeb9d55e0fa1c7d7c7713a2c9b5d0 /dhall/src | |
parent | 8b016bbabb6be73f395feda73e4e40a4c552536b (diff) |
Handle record type properly
Diffstat (limited to 'dhall/src')
-rw-r--r-- | dhall/src/operations/typecheck.rs | 2 |
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") |