[NI] Fix substitutor for anonymous types with captured type parameters

This commit is contained in:
Mikhail Zarechenskiy
2018-04-17 14:26:52 +03:00
parent b7fa06cca4
commit c216749eb6
3 changed files with 19 additions and 5 deletions
@@ -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
@@ -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