2d8e4e752c
This can happen e.g. if all supertypes were on the cycle (A : B, B : A) -- then SupertypesLoopChecker will cut all supertypes that are on cycle, leaving set of supertypes empty. Some clients in the compiler are not ready to work with empty list of supertypes -- notably, CommonSupertypes. ^KT-23029 Fixed
26 lines
1.1 KiB
Plaintext
Vendored
26 lines
1.1 KiB
Plaintext
Vendored
package
|
|
|
|
public fun test(/*0*/ f: RecB<kotlin.String>): kotlin.Boolean
|
|
public fun test(/*0*/ f: SelfR<kotlin.String>): kotlin.Boolean
|
|
|
|
public open class RecA</*0*/ T> {
|
|
public constructor RecA</*0*/ T>()
|
|
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
|
|
}
|
|
|
|
public open class RecB</*0*/ T> {
|
|
public constructor RecB</*0*/ T>()
|
|
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
|
|
}
|
|
|
|
public open class SelfR</*0*/ T> {
|
|
public constructor SelfR</*0*/ T>()
|
|
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
|
|
}
|