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
139 B
Text
3 lines
139 B
Text
eraseInsts.lean:12:22-12:27: error: failed to synthesize
|
|
HAdd Foo Foo ?m
|
|
use `set_option diagnostics true` to get diagnostic information
|