lean4-htt/tests/lean/typeOf.lean.expected.out
2020-10-01 14:56:46 -07:00

36 lines
644 B
Text

typeOf.lean:11:21: error: application type mismatch
HasAdd.add x
argument
x
has type
Nat
but is expected to have type
Bool
failed to synthesize instance
CoeT Nat x Bool
typeOf.lean:12:0: error: application type mismatch
HasAdd.add r
argument
r
has type
Bool
but is expected to have type
Nat
failed to synthesize instance
CoeT Bool r Nat
typeOf.lean:20:9: error: invalid reassignment
y == 1
has type
Bool
but it is expected to have type
Nat
typeOf.lean:21:0: error: application type mismatch
HasAdd.add y
argument
y
has type
Bool
but is expected to have type
Nat
failed to synthesize instance
CoeT Bool y Nat