54dfd626ab
- render the whole line where the error/warning points to, if any, and another line with '^', like other compilers do - lowercase diagnostic severity - decapitalize the message if it doesn't start with a proper name
11 lines
142 B
Plaintext
Vendored
11 lines
142 B
Plaintext
Vendored
>>> )(
|
|
/line1.kts:1:1: error: expecting an element
|
|
)(
|
|
^
|
|
/line1.kts:1:3: error: expecting an expression
|
|
)(
|
|
^
|
|
>>> fun foo() = 98
|
|
>>> foo()
|
|
98
|