mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 00:21:28 +00:00
23 lines
509 B
Plaintext
23 lines
509 B
Plaintext
// +JDK
|
|
|
|
// Fixpoint generic in Java: Enum<T extends Enum<T>>
|
|
fun test(<!UNUSED_PARAMETER!>a<!> : annotation.RetentionPolicy) {
|
|
|
|
}
|
|
|
|
fun test() {
|
|
java.util.Collections.<!TYPE_INFERENCE_FAILED!>emptyList()<!>
|
|
val <!UNUSED_VARIABLE!>a<!> : java.util.Collection<String>? = java.util.Collections.emptyList()
|
|
}
|
|
|
|
fun test(<!UNUSED_PARAMETER!>a<!> : java.lang.Comparable<Int>) {
|
|
|
|
}
|
|
|
|
fun test(<!UNUSED_PARAMETER!>a<!> : java.util.ArrayList<Int>) {
|
|
|
|
}
|
|
|
|
fun test(<!UNUSED_PARAMETER!>a<!> : java.lang.Class<Int>) {
|
|
|
|
} |