[Test] Update CLI tests according to new default language version
This commit is contained in:
+28
-28
@@ -1,31 +1,31 @@
|
||||
compiler/testData/cli/jvm/syntheticAccessorSignatureClash.kt:15:5: error: accidental override: The following declarations have the same JVM signature (access$foo(LDerived;)V):
|
||||
compiler/testData/cli/jvm/syntheticAccessorSignatureClash.kt:14:7: error: accidental override: The following declarations have the same JVM signature (access$foo(LDerived;)V):
|
||||
fun `access$foo`(d: Derived): Unit defined in Derived
|
||||
fun foo(): Unit defined in Derived
|
||||
private fun foo() {}
|
||||
^
|
||||
compiler/testData/cli/jvm/syntheticAccessorSignatureClash.kt:18:9: error: accidental override: The following declarations have the same JVM signature (access$getBar$p(LDerived;)I):
|
||||
fun <get-bar>(): Int defined in Derived
|
||||
fun `access$getBar$p`(d: Derived): Int defined in Derived
|
||||
get
|
||||
^
|
||||
compiler/testData/cli/jvm/syntheticAccessorSignatureClash.kt:19:9: error: accidental override: The following declarations have the same JVM signature (access$setBar$p(LDerived;I)V):
|
||||
fun <set-bar>(<set-?>: Int): Unit defined in Derived
|
||||
fun `access$setBar$p`(d: Derived, i: Int): Unit defined in Derived
|
||||
set
|
||||
^
|
||||
compiler/testData/cli/jvm/syntheticAccessorSignatureClash.kt:21:5: error: accidental override: The following declarations have the same JVM signature (access$getBaz$p(LDerived;)I):
|
||||
fun <get-baz>(): Int defined in Derived
|
||||
fun `access$getBaz$p`(d: Derived): Int defined in Derived
|
||||
private var baz = 1
|
||||
^
|
||||
compiler/testData/cli/jvm/syntheticAccessorSignatureClash.kt:23:5: error: accidental override: The following declarations have the same JVM signature (access$getBoo$p(LDerived;)I):
|
||||
fun <get-boo>(): Int defined in Derived
|
||||
fun `access$foo`(`$this`: Derived): Unit defined in Derived
|
||||
class Derived : Base() {
|
||||
^
|
||||
compiler/testData/cli/jvm/syntheticAccessorSignatureClash.kt:14:7: error: accidental override: The following declarations have the same JVM signature (access$getBoo$p(LDerived;)I):
|
||||
fun `access$getBoo$p`(d: Derived): Int defined in Derived
|
||||
private val boo = 1
|
||||
^
|
||||
compiler/testData/cli/jvm/syntheticAccessorSignatureClash.kt:27:9: error: accidental override: The following declarations have the same JVM signature (access$setBar1$p(LDerived;I)V):
|
||||
fun <set-bar1>(<set-?>: Int): Unit defined in Derived
|
||||
fun `access$getBoo$p`(`$this`: Derived): Int defined in Derived
|
||||
class Derived : Base() {
|
||||
^
|
||||
compiler/testData/cli/jvm/syntheticAccessorSignatureClash.kt:14:7: error: accidental override: The following declarations have the same JVM signature (access$setBar$p(LDerived;I)V):
|
||||
fun `access$setBar$p`(d: Derived, i: Int): Unit defined in Derived
|
||||
fun `access$setBar$p`(`$this`: Derived, `<set-?>`: Int): Unit defined in Derived
|
||||
class Derived : Base() {
|
||||
^
|
||||
compiler/testData/cli/jvm/syntheticAccessorSignatureClash.kt:14:7: error: accidental override: The following declarations have the same JVM signature (access$getBar$p(LDerived;)I):
|
||||
fun `access$getBar$p`(d: Derived): Int defined in Derived
|
||||
fun `access$getBar$p`(`$this`: Derived): Int defined in Derived
|
||||
class Derived : Base() {
|
||||
^
|
||||
compiler/testData/cli/jvm/syntheticAccessorSignatureClash.kt:14:7: error: accidental override: The following declarations have the same JVM signature (access$setBar1$p(LDerived;I)V):
|
||||
fun `access$setBar1$p`(d: Derived, i: Int): Unit defined in Derived
|
||||
set
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
fun `access$setBar1$p`(`$this`: Derived, `<set-?>`: Int): Unit defined in Derived
|
||||
class Derived : Base() {
|
||||
^
|
||||
compiler/testData/cli/jvm/syntheticAccessorSignatureClash.kt:14:7: error: accidental override: The following declarations have the same JVM signature (access$getBaz$p(LDerived;)I):
|
||||
fun `access$getBaz$p`(d: Derived): Int defined in Derived
|
||||
fun `access$getBaz$p`(`$this`: Derived): Int defined in Derived
|
||||
class Derived : Base() {
|
||||
^
|
||||
COMPILATION_ERROR
|
||||
|
||||
Reference in New Issue
Block a user