13 lines
174 B
Kotlin
Vendored
13 lines
174 B
Kotlin
Vendored
// FIR_COMPARISON
|
|
interface I<T>
|
|
|
|
fun <E, T : I<E>> T.ext() : T = this
|
|
|
|
class A<T> : I<T>
|
|
|
|
fun main(args: Array<String>) {
|
|
val a = A<Int>()
|
|
a.<caret>
|
|
}
|
|
|
|
// EXIST: ext |