Files
kotlin-fork/idea/idea-completion/testData/basic/common/extensions/ComplexCapture.kt
T
Valentin Kipyatkov 4deefce603 KT-7901 Auto import is not suggested
KT-7229 Completion for extension functions with complex capture

 #KT-7901 Fixed
 #KT-7229 Fixed
2015-06-15 17:10:05 +03:00

12 lines
152 B
Kotlin
Vendored

trait 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