lean4-htt/tests/lean/elab_error_msgs.lean.expected.out
2016-10-13 18:49:10 -07:00

29 lines
1.1 KiB
Text

elab_error_msgs.lean:2:0: error: type mismatch at application
and.rec (λ (ha : ?m_1) (hb : delayed[?m_2]) (hb : delayed[?m_4]), ha)
term
λ (ha : ?m_1) (hb : delayed[?m_2]) (hb : delayed[?m_4]), ha
has type
Π (ha : ?m_1) (hb : delayed[?m_2]) (hb_1 : delayed[?m_4]), delayed[?m_1]
but is expected to have type
?m_1 → ?m_2 → ?m_3
Additional information:
elab_error_msgs.lean:2:0: context: 'eliminator' elaboration was not used for 'and.rec' because it is not fully applied, #2 explicit arguments expected
elab_error_msgs.lean:9:0: error: type mismatch at application
bogus_elim trivial
term
trivial
has type
true
but is expected to have type
?m_2 ?m_3 ?m_3
Additional information:
elab_error_msgs.lean:9:0: context: 'eliminator' elaboration is not used for 'bogus_elim' because a (reliable) way to synthesize 'a', which occurs in the resulting type, was not found
elab_error_msgs.lean:13:20: error: failed to synthesize type class instance for
a b : Prop,
h : a ∧ b ∧ b,
ha : a,
hb : b ∧ b
⊢ has_add (b ∧ a)
Additional information:
elab_error_msgs.lean:12:5: context: the inferred motive for the eliminator-like application is
b ∧ a