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.
11 lines
418 B
Text
11 lines
418 B
Text
aux_decl_zeta.lean:11:48: error: equation compiler failed to create auxiliary declaration 'f._match_1', auxiliary declaration has references to let-declarations (possible solution: use 'set_option eqn_compiler.zeta true')
|
||
nested exception message:
|
||
type mismatch at application
|
||
x = w
|
||
term
|
||
w
|
||
has type
|
||
vec ℕ n
|
||
but is expected to have type
|
||
vec ℕ 10
|
||
aux_decl_zeta.lean:5:11: warning: declaration 'f' uses sorry
|