mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 00:21:32 +00:00
26 lines
508 B
Kotlin
Vendored
26 lines
508 B
Kotlin
Vendored
// "Change all usages of 'java.lang.Comparable<T>' in this file to 'kotlin.Comparable<T>'" "true"
|
|
import java.lang.*
|
|
import java.lang.Comparable
|
|
import java.lang.Comparable
|
|
import java.lang.Comparable as Foo
|
|
|
|
fun <T> a() : java.lang.Comparable<T>? {
|
|
return null
|
|
}
|
|
|
|
fun b() : java.lang.Comparable<String> {
|
|
throw Exception()
|
|
}
|
|
|
|
fun c() : Foo<String> {
|
|
throw Exception()
|
|
}
|
|
|
|
fun d() : java.lang.Comparable<String><caret>? {
|
|
return null
|
|
}
|
|
|
|
fun e() : Comparable<String>? {
|
|
throw Exception()
|
|
}
|