[K1, K2, CLI] Mark whole position range of compiler diagnostics in CLI
#KT-64989
This commit is contained in:
committed by
Space Team
parent
5b11308d1b
commit
7eab4b672d
+4
-4
@@ -1,18 +1,18 @@
|
||||
compiler/testData/cli/jvm/firError.kt:1:13: error: 'val' on function parameter is prohibited.
|
||||
fun println(val x: Int) {}
|
||||
^
|
||||
^^^
|
||||
compiler/testData/cli/jvm/firError.kt:5:13: error: variable 'x' must be initialized.
|
||||
println(x)
|
||||
^
|
||||
compiler/testData/cli/jvm/firError.kt:10:16: error: subclass 'public' exposes its 'private-in-file' supertype 'Private'.
|
||||
class Public : Private() {
|
||||
^
|
||||
^^^^^^^
|
||||
compiler/testData/cli/jvm/firError.kt:10:16: error: this type is final, so it cannot be extended.
|
||||
class Public : Private() {
|
||||
^
|
||||
^^^^^^^
|
||||
compiler/testData/cli/jvm/firError.kt:11:5: error: property must be initialized or be abstract.
|
||||
val x: Private
|
||||
^
|
||||
^^^^^^^^^^^^^^
|
||||
compiler/testData/cli/jvm/firError.kt:11:9: error: property 'public' exposes its 'private-in-file' type 'Private'.
|
||||
val x: Private
|
||||
^
|
||||
|
||||
Reference in New Issue
Block a user