It is confusing that the message suggesting to use the `diagnostics` option is given even when the option is already set. This PR makes use of lazy message data to make the message contingent on the option being false. It also tones down the promise that there is any diagonostic information available, since sometimes there is nothing to report. Suggested by Johan Commelin.
5 lines
312 B
Text
5 lines
312 B
Text
defaultInstance.lean:20:20-20:23: error: failed to synthesize
|
|
Foo Bool (?m x)
|
|
Additional diagnostic information may be available by using the `set_option diagnostics true` command.
|
|
defaultInstance.lean:22:35-22:38: error: typeclass instance problem is stuck, it is often due to metavariables
|
|
Foo Bool (?m x)
|