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
12 lines
416 B
Text
12 lines
416 B
Text
setLit.lean:22:19-22:21: error: overloaded, errors
|
|
failed to synthesize
|
|
EmptyCollection String
|
|
use `set_option diagnostics true` to get diagnostic information
|
|
|
|
fields missing: 'data'
|
|
setLit.lean:24:31-24:38: error: overloaded, errors
|
|
failed to synthesize
|
|
Singleton Nat String
|
|
use `set_option diagnostics true` to get diagnostic information
|
|
|
|
24:33 'val' is not a field of structure 'String'
|