Summary: We minimize the number of "'sorry' used warning messages". We also re-target the error to the main declaration. Example: foo._main ==> foo We do not report for auxiliary declarations such as "_example" and "foo.equations._eqn_1" Get rid of the redundant error message "error : failed" for tactics. We added "silent failures" in the tactic framework. We do not store line/col information for tactics nested in notation declarations. Before this commit, we would have tactics such as (tactic.save_info line col) nested inside of notation declarations.
9 lines
336 B
Text
9 lines
336 B
Text
bad_error4.lean:5:0: error: type mismatch at application
|
|
{f := λ (a : unit) (b : delayed[?m_1]), delayed[?m_3]}
|
|
term
|
|
λ (a : unit) (b : delayed[?m_1]), delayed[?m_3]
|
|
has type
|
|
Π (a : unit) (b : delayed[?m_1]), delayed[?m_2]
|
|
but is expected to have type
|
|
unit → unit
|
|
bad_error4.lean:4:11: warning: declaration 'bar' uses sorry
|