Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/iterator/createIteratorFromUsage2.kt.after

14 lines
312 B
Plaintext
Vendored

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