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
3 lines
124 B
Text
3 lines
124 B
Text
386.lean:9:2-9:46: error: failed to synthesize
|
|
Fintype ?m
|
|
use `set_option diagnostics true` to get diagnostic information
|