73 lines
2.4 KiB
Plaintext
Vendored
73 lines
2.4 KiB
Plaintext
Vendored
FILE: nestedVisibility.kt
|
|
public open class Outer : R|kotlin/Any| {
|
|
public constructor(): R|Outer| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
private final class PrivateNested : R|kotlin/Any| {
|
|
public constructor(): R|Outer.PrivateNested| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
private final inner class PrivateInner : R|kotlin/Any| {
|
|
public constructor(): R|Outer.PrivateInner| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
protected final class ProtectedNested : R|kotlin/Any| {
|
|
public constructor(): R|Outer.ProtectedNested| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
protected final inner class ProtectedInner : R|kotlin/Any| {
|
|
public constructor(): R|Outer.ProtectedInner| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
public final class PublicNested : R|kotlin/Any| {
|
|
public constructor(): R|Outer.PublicNested| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
public final inner class PublicInner : R|kotlin/Any| {
|
|
public constructor(): R|Outer.PublicInner| {
|
|
super<R|kotlin/Any|>()
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
public final class Derived : R|Outer| {
|
|
public constructor(): R|Derived| {
|
|
super<R|Outer|>()
|
|
}
|
|
|
|
public final fun foo(): R|kotlin/Unit| {
|
|
Q|Outer|.<Inapplicable(HIDDEN): [/Outer.PrivateNested.PrivateNested]>#()
|
|
super<R|Outer|>.<Inapplicable(HIDDEN): [/Outer.PrivateInner.PrivateInner]>#()
|
|
Q|Outer|.R|/Outer.ProtectedNested.ProtectedNested|()
|
|
super<R|Outer|>.R|/Outer.ProtectedInner.ProtectedInner|()
|
|
Q|Outer|.R|/Outer.PublicNested.PublicNested|()
|
|
super<R|Outer|>.R|/Outer.PublicInner.PublicInner|()
|
|
}
|
|
|
|
}
|
|
public final fun foo(): R|kotlin/Unit| {
|
|
Q|Outer|.<Inapplicable(HIDDEN): [/Outer.PrivateNested.PrivateNested]>#()
|
|
R|/Outer.Outer|().<Inapplicable(HIDDEN): [/Outer.PrivateInner.PrivateInner]>#()
|
|
Q|Outer|.<Inapplicable(HIDDEN): [/Outer.ProtectedNested.ProtectedNested]>#()
|
|
R|/Outer.Outer|().<Inapplicable(HIDDEN): [/Outer.ProtectedInner.ProtectedInner]>#()
|
|
Q|Outer|.R|/Outer.PublicNested.PublicNested|()
|
|
R|/Outer.Outer|().R|/Outer.PublicInner.PublicInner|()
|
|
}
|