Summary: - Take `synthPendingDepth` into account when caching TC results - Add `maxSynthPendingDepth` option with default := 2. - Add support for tracking `synthPending` failures when using `set_option diagnostics true` closes #2522 closes #3313 closes #3927 Identical to #4114 but with `maxSynthPendingDepth := 1` closes #4114 cc @semorrison
10 lines
453 B
Text
10 lines
453 B
Text
semicolonOrLinebreak.lean:2:12: error: expected ';' or line break
|
|
semicolonOrLinebreak.lean:9:31-10:8: error: fields missing: 'y'
|
|
semicolonOrLinebreak.lean:10:8-10:9: error: unexpected identifier; expected command
|
|
semicolonOrLinebreak.lean:20:4-20:7: error: function expected at
|
|
x
|
|
term has type
|
|
Nat
|
|
semicolonOrLinebreak.lean:20:2-20:9: error: failed to synthesize
|
|
Singleton ?m Point
|
|
use `set_option diagnostics true` to get diagnostic information
|