mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
21 lines
542 B
Kotlin
21 lines
542 B
Kotlin
// Fixpoint generic in Java: Enum<T extends Enum<T>>
|
|
fun test(<!UNUSED_PARAMETER!>a<!> : annotation.RetentionPolicy) {
|
|
|
|
}
|
|
|
|
fun test() {
|
|
java.util.Collections.<!TYPE_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>emptyList<!>()
|
|
val <!UNUSED_VARIABLE!>a<!> : Collection<String>? = java.util.Collections.emptyList()
|
|
}
|
|
|
|
fun test(<!UNUSED_PARAMETER!>a<!> : <!CLASS_HAS_KOTLIN_ANALOG!>java.lang.Comparable<Int><!>) {
|
|
|
|
}
|
|
|
|
fun test(<!UNUSED_PARAMETER!>a<!> : java.util.ArrayList<Int>) {
|
|
|
|
}
|
|
|
|
fun test(<!UNUSED_PARAMETER!>a<!> : java.lang.Class<Int>) {
|
|
|
|
} |