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.
24 lines
1.1 KiB
Text
24 lines
1.1 KiB
Text
inaccessible.lean:14:10: error: function expected at
|
|
mk
|
|
inaccessible.lean:14:2: error: invalid occurrence of macro expression in pattern (possible solution, mark term as inaccessible using '.( )')
|
|
sorry
|
|
inaccessible.lean:14:17: error: ill-formed match/equations expression
|
|
inaccessible.lean:13:11: warning: declaration 'inv_3' uses sorry
|
|
inaccessible.lean:17:11: error: invalid inaccessible annotation, it cannot be used around functions in applications
|
|
inaccessible.lean:25:12: error: invalid pattern, 'a' already appeared in this pattern
|
|
inaccessible.lean:28:3: error: function expected at
|
|
f
|
|
inaccessible.lean:28:2: error: type mismatch at application
|
|
inv_7 sorry (mk b)
|
|
term
|
|
mk b
|
|
has type
|
|
imf .?m_3 (.?m_3 b)
|
|
but is expected to have type
|
|
imf f sorry
|
|
inaccessible.lean:28:16: error: ill-formed match/equations expression
|
|
inaccessible.lean:27:11: warning: declaration 'inv_7' uses sorry
|
|
inaccessible.lean:31:4: error: invalid pattern, 'a' already appeared in this pattern
|
|
inaccessible.lean:82:3: error: invalid use of inaccessible term, it is not completely fixed by other arguments
|
|
.?m_1 + 1
|
|
inaccessible.lean:80:11: warning: declaration 'map_6' uses sorry
|