Fixes #5565, by using tags instead of trying to string match on a `MessageData`. This ends up reverting some unwanted test output changes from #4781 too. This changes `isMaxRecDepth` for good measure too. This was a regression in Lean 4.11.0, so may be worth backporting to 4.12.x, if not also 4.11.x.
6 lines
423 B
Text
6 lines
423 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.
|
|
Additional diagnostic information may be available using the `set_option diagnostics true` command.
|
|
Additional diagnostic information may be available using the `set_option diagnostics true` command.
|