summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/MergeHandlersWithDifferentType.txt
diff options
context:
space:
mode:
authorNadrieril2020-01-29 18:48:19 +0000
committerNadrieril2020-01-29 19:11:48 +0000
commit1e466a20533d936f44430b1bc18508cd00e5ccd2 (patch)
tree20c025af6ed539a600ec8db9e1339c9c4e7c9112 /dhall/tests/type-errors/unit/MergeHandlersWithDifferentType.txt
parentf88880004c7dcf5e67c4d5e2330e6e879523f27b (diff)
Use TyExpr in Typed
Diffstat (limited to 'dhall/tests/type-errors/unit/MergeHandlersWithDifferentType.txt')
-rw-r--r--dhall/tests/type-errors/unit/MergeHandlersWithDifferentType.txt66
1 files changed, 65 insertions, 1 deletions
diff --git a/dhall/tests/type-errors/unit/MergeHandlersWithDifferentType.txt b/dhall/tests/type-errors/unit/MergeHandlersWithDifferentType.txt
index 8b729a4..02d2970 100644
--- a/dhall/tests/type-errors/unit/MergeHandlersWithDifferentType.txt
+++ b/dhall/tests/type-errors/unit/MergeHandlersWithDifferentType.txt
@@ -1 +1,65 @@
-Type error: Unhandled error: MergeHandlerTypeMismatch
+Type error: Unhandled error: MergeHandlerTypeMismatch: Value@WHNF {
+ value: AppliedBuiltin(
+ Bool,
+ [],
+ [],
+ NzEnv {
+ items: [
+ Replaced(
+ Value@Unevaled {
+ value: Var(
+ AlphaVar(0),
+ Fresh(
+ 119,
+ ),
+ ),
+ type: Value@WHNF {
+ value: AppliedBuiltin(
+ Bool,
+ [],
+ [],
+ NzEnv {
+ items: [],
+ },
+ ),
+ type: Type,
+ },
+ },
+ ),
+ ],
+ },
+ ),
+ type: Type,
+} != Value@WHNF {
+ value: AppliedBuiltin(
+ Natural,
+ [],
+ [],
+ NzEnv {
+ items: [
+ Replaced(
+ Value@Unevaled {
+ value: Var(
+ AlphaVar(0),
+ Fresh(
+ 120,
+ ),
+ ),
+ type: Value@WHNF {
+ value: AppliedBuiltin(
+ Natural,
+ [],
+ [],
+ NzEnv {
+ items: [],
+ },
+ ),
+ type: Type,
+ },
+ },
+ ),
+ ],
+ },
+ ),
+ type: Type,
+}