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
9 lines
394 B
Text
9 lines
394 B
Text
345.lean:1:12-1:13: error: failed to synthesize
|
|
OfNat (Sort ?u) 1
|
|
use `set_option diagnostics true` to get diagnostic information
|
|
345.lean:4:8-4:9: error: failed to synthesize
|
|
OfNat (Sort ?u) 1
|
|
use `set_option diagnostics true` to get diagnostic information
|
|
345.lean:6:19-6:20: error: failed to synthesize
|
|
OfNat (Sort ?u) 1
|
|
use `set_option diagnostics true` to get diagnostic information
|