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
8 lines
161 B
Plaintext
Vendored
8 lines
161 B
Plaintext
Vendored
>>> fun foo() = 765
|
|
>>> foo(1)
|
|
/line2.kts:1:5: error: too many arguments for internal final fun foo(): kotlin.Int defined in <script>
|
|
foo(1)
|
|
^
|
|
>>> foo()
|
|
765
|