[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
+7
-7
@@ -2,32 +2,32 @@ compiler/testData/cli/jvm/signatureClash.kt:6:5: error: accidental override: The
|
||||
fun `<get-x>`(): Int defined in A
|
||||
fun getX(): Int defined in A
|
||||
fun getX() = 1
|
||||
^
|
||||
^^^^^^^^^^^^^^
|
||||
compiler/testData/cli/jvm/signatureClash.kt:8:5: error: platform declaration clash: The following declarations have the same JVM signature (getA()I):
|
||||
fun `<get-a>`(): Int defined in A
|
||||
fun getA(): Int defined in A
|
||||
fun getA(): Int = 1
|
||||
^
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
compiler/testData/cli/jvm/signatureClash.kt:9:5: error: platform declaration clash: The following declarations have the same JVM signature (getA()I):
|
||||
fun `<get-a>`(): Int defined in A
|
||||
fun getA(): Int defined in A
|
||||
val a: Int = 1
|
||||
^
|
||||
^^^^^^^^^^^^^^
|
||||
compiler/testData/cli/jvm/signatureClash.kt:12:1: error: platform declaration clash: The following declarations have the same JVM signature (getB()I):
|
||||
fun `<get-b>`(): Int defined in root package
|
||||
fun getB(): Int defined in root package
|
||||
fun getB(): Int = 1
|
||||
^
|
||||
^^^^^^^^^^^^^^^^^^^
|
||||
compiler/testData/cli/jvm/signatureClash.kt:13:1: error: platform declaration clash: The following declarations have the same JVM signature (getB()I):
|
||||
fun `<get-b>`(): Int defined in root package
|
||||
fun getB(): Int defined in root package
|
||||
val b: Int = 1
|
||||
^
|
||||
^^^^^^^^^^^^^^
|
||||
compiler/testData/cli/jvm/signatureClash.kt:20:5: error: accidental override: The following declarations have the same JVM signature (getTr()I):
|
||||
fun `<get-tr>`(): Int defined in SubTr
|
||||
fun getTr(): Int defined in SubTr
|
||||
val tr = 1
|
||||
^
|
||||
^^^^^^^^^^
|
||||
compiler/testData/cli/jvm/signatureClash.kt:24:1: error: platform declaration clash: The following declarations have the same JVM signature (access$f(LC;)V):
|
||||
fun `access$f`(`$this`: C): Unit defined in C
|
||||
fun `access$f`(c: C): Unit defined in C
|
||||
@@ -37,5 +37,5 @@ compiler/testData/cli/jvm/signatureClash.kt:26:5: error: platform declaration cl
|
||||
fun `access$f`(`$this`: C): Unit defined in C
|
||||
fun `access$f`(c: C): Unit defined in C
|
||||
fun `access$f`(c: C) {}
|
||||
^
|
||||
^^^^^^^^^^^^^^^^^^^^^^^
|
||||
COMPILATION_ERROR
|
||||
|
||||
Reference in New Issue
Block a user