mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 15:53:55 +00:00
22 lines
381 B
Kotlin
Vendored
22 lines
381 B
Kotlin
Vendored
// !WITH_NEW_INFERENCE
|
|
// Fixpoint generic in Java: Enum<T extends Enum<T>>
|
|
fun test(a : java.lang.annotation.RetentionPolicy) {
|
|
|
|
}
|
|
|
|
fun test() {
|
|
java.util.Collections.emptyList()
|
|
val a : Collection<String>? = java.util.Collections.emptyList()
|
|
}
|
|
|
|
fun test(a : java.lang.Comparable<Int>) {
|
|
|
|
}
|
|
|
|
fun test(a : java.util.ArrayList<Int>) {
|
|
|
|
}
|
|
|
|
fun test(a : java.lang.Class<Int>) {
|
|
|
|
} |