This PR improves the consistency of error message formatting by rendering addenda of several existing error messages as labeled notes and hints.
14 lines
587 B
Text
14 lines
587 B
Text
semicolonOrLinebreak.lean:2:12: error: expected ';' or line break
|
|
semicolonOrLinebreak.lean:9:31-10:8: error: fields missing: 'y'
|
|
semicolonOrLinebreak.lean:10:8-10:9: error: unexpected identifier; expected command
|
|
semicolonOrLinebreak.lean:20:4-20:7: error: Function expected at
|
|
x
|
|
but this term has type
|
|
Nat
|
|
|
|
Note: Expected a function because this term is being applied to the argument
|
|
y
|
|
semicolonOrLinebreak.lean:20:2-20:9: error: failed to synthesize
|
|
Singleton ?m Point
|
|
|
|
Hint: Additional diagnostic information may be available using the `set_option diagnostics true` command.
|