7b3ce35613
#KT-53825 Fixed
17 lines
684 B
Plaintext
Vendored
17 lines
684 B
Plaintext
Vendored
warning: ATTENTION!
|
|
This build uses experimental K2 compiler:
|
|
-Xuse-k2
|
|
compiler/testData/cli/jvm/conflictingJvmDeclarations.kt:2:5: error: platform declaration clash: The following declarations have the same JVM signature (getX()I):
|
|
fun `<get-x>`(): Int defined in Foo
|
|
fun getX(): Int defined in Foo
|
|
fun getY(): Int defined in Foo
|
|
val x: Int
|
|
^
|
|
compiler/testData/cli/jvm/conflictingJvmDeclarations.kt:8:5: error: platform declaration clash: The following declarations have the same JVM signature (getX()I):
|
|
fun `<get-x>`(): Int defined in Foo
|
|
fun getX(): Int defined in Foo
|
|
fun getY(): Int defined in Foo
|
|
@JvmName("getX")
|
|
^
|
|
COMPILATION_ERROR
|