9b39a8abc2
Instead, use FirErrorTypeRef, a subtype of FirResolvedTypeRef
40 lines
1.1 KiB
Plaintext
Vendored
40 lines
1.1 KiB
Plaintext
Vendored
FILE: privateObjectLiteral.kt
|
|
public final class C : R|kotlin/Any| {
|
|
public constructor(): R|C| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
private final val x: R|<anonymous>| = object : R|kotlin/Any| {
|
|
private constructor(): R|<anonymous>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final fun foo(): R|kotlin/Int| {
|
|
^foo Int(42)
|
|
}
|
|
|
|
}
|
|
|
|
private get(): R|<anonymous>|
|
|
|
|
public final val y: R|kotlin/Int| = this@R|/C|.R|/C.x|.R|/<anonymous>.foo|()
|
|
public get(): R|kotlin/Int|
|
|
|
|
internal final val z: R|kotlin/Any| = object : R|kotlin/Any| {
|
|
private constructor(): R|<anonymous>| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
public final fun foo(): R|kotlin/Int| {
|
|
^foo Int(13)
|
|
}
|
|
|
|
}
|
|
|
|
internal get(): R|kotlin/Any|
|
|
|
|
public final val w: <ERROR TYPE REF: Unresolved name: foo> = this@R|/C|.R|/C.z|.<Unresolved name: foo>#()
|
|
public get(): <ERROR TYPE REF: Unresolved name: foo>
|
|
|
|
}
|