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.
10 lines
344 B
Text
10 lines
344 B
Text
bad_inaccessible2.lean:31:2: error: type mismatch at application
|
|
map_head (cons a va) (cons b vb)
|
|
term
|
|
cons b vb
|
|
has type
|
|
vec .?m_1 (n + 1)
|
|
but is expected to have type
|
|
vec A .(.?m_2 + 1)
|
|
bad_inaccessible2.lean:31:46: error: ill-formed match/equations expression
|
|
bad_inaccessible2.lean:29:11: warning: declaration 'map_head' uses sorry
|