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
29 lines
846 B
Plaintext
Vendored
29 lines
846 B
Plaintext
Vendored
compiler/testData/cli/jvm/diagnosticsOrder1.kt:1:5: error: redeclaration: x
|
|
val x = 5
|
|
^
|
|
compiler/testData/cli/jvm/diagnosticsOrder1.kt:2:5: error: redeclaration: x
|
|
val x = 5
|
|
^
|
|
compiler/testData/cli/jvm/diagnosticsOrder1.kt:3:5: error: redeclaration: x
|
|
val x = 5
|
|
^
|
|
compiler/testData/cli/jvm/diagnosticsOrder1.kt:4:5: error: redeclaration: x
|
|
val x = 5
|
|
^
|
|
compiler/testData/cli/jvm/diagnosticsOrder1.kt:5:5: error: redeclaration: x
|
|
val x = 5
|
|
^
|
|
compiler/testData/cli/jvm/diagnosticsOrder1.kt:6:5: error: redeclaration: x
|
|
val x = 5
|
|
^
|
|
compiler/testData/cli/jvm/diagnosticsOrder1.kt:7:5: error: redeclaration: x
|
|
val x = 5
|
|
^
|
|
compiler/testData/cli/jvm/diagnosticsOrder2.kt:1:5: error: redeclaration: y
|
|
val y = 5
|
|
^
|
|
compiler/testData/cli/jvm/diagnosticsOrder2.kt:2:5: error: redeclaration: y
|
|
val y = 5
|
|
^
|
|
COMPILATION_ERROR
|