Files
kotlin-fork/compiler/testData/diagnostics/tests/cast/IsErasedAllowForDerivedWithOneSubstitutedAndOneSameGeneric.txt
T
Alexander Udalov 3a8ad45dec Append newline to EOF for .txt test data files
Reverts and fixes 102f0d3
2014-10-21 03:18:27 +04:00

18 lines
831 B
Plaintext

package
internal fun </*0*/ T, /*1*/ U> testing(/*0*/ a: BaseTwo<T, U>): kotlin.Boolean
internal open class BaseTwo</*0*/ A, /*1*/ B> {
public constructor BaseTwo</*0*/ A, /*1*/ B>()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
internal open class DerivedWithOne</*0*/ D> : BaseTwo<D, kotlin.String> {
public constructor DerivedWithOne</*0*/ D>()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}