// "Create extension function 'component2'" "true" class FooIterator { fun hasNext(): Boolean { return false } fun next(): Any { throw UnsupportedOperationException("not implemented") } } class Foo { fun iterator(): FooIterator { throw UnsupportedOperationException("not implemented") } } fun Any.component1(): Int { return 0 } fun foo() { for ((i: Int, j: Int) in Foo()) { } }