Files
kotlin-fork/idea/testData/intentions/iterateExpression/extensionIteratorWithPartialSubstitution2.kt
T
2015-12-25 18:50:23 +03:00

9 lines
178 B
Kotlin
Vendored

// WITH_RUNTIME
// IS_APPLICABLE: false
class T<U, V>
operator fun <X> T<X, String>.iterator(): Iterator<X> = listOf<X>().iterator()
fun test() {
T<Int, Boolean>()<caret>
}