e31e12474f
Property with type inferred from getter could access primary constructor parameters inside the getter (which is incorrect, and caused problems in compilation). Fix scopes for property descriptor resolution. 'getScopeForMemberDeclarationResolution' in AbstractLazyMemberScope should always return member declaration resolution scope. Two scopes are required, because both property initializer and property accessors should see property type parameters.
25 lines
1.1 KiB
Plaintext
Vendored
25 lines
1.1 KiB
Plaintext
Vendored
package
|
|
|
|
public fun </*0*/ T> delegateFactory(/*0*/ p: kotlin.Any): Delegate
|
|
|
|
public final class C {
|
|
public constructor C(/*0*/ p: kotlin.Any, /*1*/ v: kotlin.Any)
|
|
public final val test1: [ERROR : Error function type]
|
|
public final val test2: kotlin.Any
|
|
public final val test4: [ERROR : No type, no body]
|
|
public final var test5: [ERROR : No type, no body]
|
|
public final val v: kotlin.Any
|
|
public final val </*0*/ T> kotlin.collections.List<T>.test3: kotlin.String
|
|
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 Delegate {
|
|
private constructor Delegate()
|
|
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
|
public final operator fun getValue(/*0*/ x: kotlin.Any?, /*1*/ y: kotlin.Any?): kotlin.String
|
|
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
|
}
|