Files
kotlin-fork/compiler/testData/diagnostics/tests/extensions/GenericIterator.txt
T
Alexander Udalov 085fc3bf87 Transform anonymous types even for public symbols
This became necessary when we removed the requirement to specify types for
public members, because otherwise everything fails not being able to locate the
anonymous class from another module

 #KT-9072 Fixed
 EA-72801
2015-09-11 19:51:42 +03:00

14 lines
602 B
Plaintext
Vendored

package
public fun main(/*0*/ args: kotlin.Array<kotlin.String>): kotlin.Unit
public fun </*0*/ T : kotlin.Any> T?.iterator(): MyIterator<T>
public fun </*0*/ T> java.util.Enumeration<T>.iterator(): kotlin.Iterator<T>
public interface MyIterator</*0*/ T> {
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public abstract fun hasNext(): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public abstract fun next(): T
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}