diff options
author | Nadrieril | 2019-04-11 14:21:46 +0200 |
---|---|---|
committer | Nadrieril | 2019-04-11 14:21:46 +0200 |
commit | c3c1d3d276216796394b553ecbe2832897e3deb0 (patch) | |
tree | 62873b8439323eeda476d2ea5bbbd2d2faec2288 /dhall/src/tests.rs | |
parent | 544024abc717f4768fd7bde8327fc2718b5c94e7 (diff) |
Handle untyped case differently from the type of Sort
Closes #59
Diffstat (limited to 'dhall/src/tests.rs')
-rw-r--r-- | dhall/src/tests.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dhall/src/tests.rs b/dhall/src/tests.rs index 23ec1f4..dcded3a 100644 --- a/dhall/src/tests.rs +++ b/dhall/src/tests.rs @@ -119,7 +119,7 @@ pub fn run_test( } TypeInference => { let expr = expr.typecheck()?; - let ty = expr.get_type().as_normalized()?; + let ty = expr.get_type()?.as_normalized()?; assert_eq_display!(ty, &expected); } Normalization => { |