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
6 lines
350 B
Text
6 lines
350 B
Text
tcloop.lean:14:2-14:15: error: failed to synthesize
|
|
B Nat
|
|
(deterministic) timeout at `typeclass`, maximum number of heartbeats (20000) has been reached
|
|
use `set_option synthInstance.maxHeartbeats <num>` to set the limit
|
|
use `set_option diagnostics true` to get diagnostic information
|
|
use `set_option diagnostics true` to get diagnostic information
|