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
135 B
Text
3 lines
135 B
Text
forErrors.lean:3:29-3:30: error: failed to synthesize
|
||
ToStream α ?m
|
||
use `set_option diagnostics true` to get diagnostic information
|