[NI] Fix substitutor for anonymous types with captured type parameters
This commit is contained in:
+6
@@ -14,6 +14,12 @@ private val withTwoSupertypes by lazy {
|
||||
object : First, Second { }
|
||||
}
|
||||
|
||||
class A<T> {
|
||||
val a: First by lazy {
|
||||
object : First { }
|
||||
}
|
||||
}
|
||||
|
||||
interface First
|
||||
interface Second
|
||||
|
||||
|
||||
+8
@@ -5,6 +5,14 @@ private val withTwoSupertypes: withTwoSupertypes.<anonymous>.<no name provided>
|
||||
private val withoutType: withoutType.<anonymous>.<no name provided>
|
||||
public fun </*0*/ T> lazy(/*0*/ initializer: () -> T): Lazy<T>
|
||||
|
||||
public final class A</*0*/ T> {
|
||||
public constructor A</*0*/ T>()
|
||||
public final val a: First
|
||||
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 interface First {
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
Reference in New Issue
Block a user