15 lines
743 B
Plaintext
Vendored
15 lines
743 B
Plaintext
Vendored
warning: language version 2.0 is experimental, there are no backwards compatibility guarantees for new language and library features
|
|
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
|