Files
kotlin-fork/idea/testData/checker/duplicateJvmSignature/functionAndProperty/trait.kt
T
Dmitry Petrov 8c64279419 Drop package facades: fix testData in duplicate JVM signature test
(declaration origins are now ordered alphabetically)
2015-10-19 16:03:20 +03:00

9 lines
621 B
Kotlin
Vendored

interface T {
<error descr="[CONFLICTING_JVM_DECLARATIONS] Platform declaration clash: The following declarations have the same JVM signature (foo(Ljava/util/List;)V):
fun foo(l: kotlin.List<kotlin.Int>): kotlin.Unit
fun foo(l: kotlin.List<kotlin.String>): kotlin.Unit">fun foo(l: List<String>)</error> {}
<error descr="[CONFLICTING_JVM_DECLARATIONS] Platform declaration clash: The following declarations have the same JVM signature (foo(Ljava/util/List;)V):
fun foo(l: kotlin.List<kotlin.Int>): kotlin.Unit
fun foo(l: kotlin.List<kotlin.String>): kotlin.Unit">fun foo(l: List<Int>)</error> {}
}