c21e699783
Default type of LazySubstitutingClassDescriptor is not lazy. However, most of default types are, and there is an optimization in KotlinTypeFactory, which uses default type for simple type without type arguments and/or annotations. LazySubstitutingClassDescriptor's default type creates simple type with factory, which may therefore cause recursion. #KT-34029 Fixed
19 lines
814 B
Plaintext
Vendored
19 lines
814 B
Plaintext
Vendored
package
|
|
|
|
public val foo1: MyClass.MyObject
|
|
public val foo2: [ERROR : Type for MyClass<Boolean>.MyObject]
|
|
|
|
public open class MyClass</*0*/ T> {
|
|
public constructor MyClass</*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 object MyObject : MyClass<kotlin.Boolean> {
|
|
private constructor MyObject()
|
|
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
|
|
}
|
|
}
|