lean4-htt/tests/lean/1760.lean
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

7 lines
122 B
Text

section
parameter big_type : Type 1
parameter x : big_type
parameter f {A : Type} : A → bool
def foo : bool := f x
end