Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/iterator/afterCreateIteratorFromUsage1.kt
2014-10-14 00:39:23 +04:00

11 lines
296 B
Kotlin

// "Create function 'iterator' from usage" "true"
class Foo<T> {
fun iterator(): Iterator<T> {
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
}
}
fun foo() {
for (i: Int in Foo<Int>()) { }
}