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

41 lines
1.3 KiB
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.

elab12.lean:1:33: error: type expected at
0
term has type
elab12.lean:1:41: error: function expected at
rfl
term has type
?m_2 = ?m_2
Additional information:
elab12.lean:1:41: context: switched to simple application elaboration procedure because failed to use expected type to elaborate it, error message
too many arguments
λ (a : ), have H : ⁇, from ⁇, ⁇ : ∀ (a : ), a = a
elab12.lean:4:45: error: function expected at
rfl
term has type
?m_2 = ?m_2
Additional information:
elab12.lean:4:45: context: switched to simple application elaboration procedure because failed to use expected type to elaborate it, error message
too many arguments
elab12.lean:5:2: error: function expected at
H
term has type
a = a
λ (a : ), have H : a = a, from ⁇, ⁇ : ∀ (a : ), a = a
elab12.lean:7:47: error: invalid have-expression, term
a + 0
has type
: Type
but is expected to have type
a = a : Prop
elab12.lean:8:2: error: function expected at
H
term has type
a = a
λ (a : ), have H : a = a, from ⁇, ⁇ : ∀ (a : ), a = a
elab12.lean:11:2: error: function expected at
H
term has type
a = a
λ (a : ), have H : a = a, from rfl, ⁇ : ∀ (a : ), a = a
λ (a : ), have H : a = a, from rfl, H : ∀ (a : ), a = a