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.
11 lines
632 B
Text
11 lines
632 B
Text
1007.lean:8:9-8:17: warning: declaration uses 'sorry'
|
|
1007.lean:9:9-9:20: warning: declaration uses 'sorry'
|
|
1007.lean:11:33-11:41: warning: declaration uses 'sorry'
|
|
1007.lean:15:9-15:20: warning: declaration uses 'sorry'
|
|
1007.lean:33:0-33:8: warning: declaration uses 'sorry'
|
|
1007.lean:34:0-34:8: warning: declaration uses 'sorry'
|
|
1007.lean:38:4-38:8: warning: declaration uses 'sorry'
|
|
1007.lean:39:4-39:7: warning: declaration uses 'sorry'
|
|
1007.lean:56:64-56:78: error: failed to synthesize
|
|
IsLin fun x => sum fun i => norm x
|
|
Additional diagnostic information may be available by using the `set_option diagnostics true` command.
|