Files
kotlin-fork/idea/testData/checker/duplicateJvmSignature/functionAndProperty/topLevelMultifileRuntime.kt
T
Alexander Udalov 8e77e16bbd Remove leftovers of platformName and platformStatic in test data
Drop unnecessary imports, rename some tests
2016-03-02 16:47:04 +03:00

11 lines
480 B
Kotlin
Vendored

@file:JvmName("TopLevelMultifile")
@file:JvmMultifileClass
package test
<error descr="[CONFLICTING_JVM_DECLARATIONS] Platform declaration clash: The following declarations have the same JVM signature (getX()I):
fun <get-x>(): Int
fun getX(): Int">val x</error> = 1
<error descr="[CONFLICTING_JVM_DECLARATIONS] Platform declaration clash: The following declarations have the same JVM signature (getX()I):
fun <get-x>(): Int
fun getX(): Int">fun getX()</error> = 1