summaryrefslogtreecommitdiff
path: root/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt
diff options
context:
space:
mode:
authorNadrieril2019-11-11 09:44:24 +0000
committerNadrieril2019-11-11 13:50:36 +0000
commit70263bb4535c40ffa73548e3f0b4b574a856d764 (patch)
tree3fe0034cb0f4eae737b82edec8139f518ed22ef8 /dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt
parentf58ff637c8d53af1fcee43bfba5a9f8de799084c (diff)
Test type error messages
Diffstat (limited to '')
-rw-r--r--dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt b/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt
new file mode 100644
index 0000000..61cd80c
--- /dev/null
+++ b/dhall/tests/type-errors/unit/FunctionApplicationArgumentNotMatch.txt
@@ -0,0 +1 @@
+TypeError { type_message: TypeMismatch(Value@Unevaled { value: Lam(AlphaLabel(`_`), Value@WHNF { value: AppliedBuiltin(Natural, []), type: Type }, Value@Unevaled { value: Var(AlphaVar(`_`, 0)), type: Value@Unevaled { value: AppliedBuiltin(Natural, []), type: Type } }), type: Value@WHNF { value: Pi(AlphaLabel(`_`), Value@WHNF { value: AppliedBuiltin(Natural, []), type: Type }, Value@Unevaled { value: AppliedBuiltin(Natural, []), type: Type }), type: Type } }, Value@WHNF { value: AppliedBuiltin(Natural, []), type: Type }, Value@Unevaled { value: PartialExpr(BoolLit(true)), type: Value@WHNF { value: AppliedBuiltin(Bool, []), type: Type } }), context: TypecheckContext([]) }