lean4-htt/tests/lean/def4.lean.expected.out
Leonardo de Moura 971ae34521 feat(frontends/lean/elaborator): closes #1760
As described at issue #1760, the new error message is:
```
1760.lean:6:18: error: type mismatch at application
  f x
term
  x
has type
  big_type : Type 1
but is expected to have type
  ?m_1 : Type
```
2017-08-21 16:15:03 -07:00

21 lines
340 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

f : A → A
def4.lean:9:9: error: type mismatch at application
f 0
term
0
has type
: Type
but is expected to have type
A : Type u
g : A → A
def4.lean:17:9: error: type mismatch at application
g 0
term
0
has type
: Type
but is expected to have type
A : Type u
f : Π (A : Type u_1), A → A
f 0 :
g 0 :