Add usages of inherited static members from nested object
This commit is contained in:
+7
@@ -21,6 +21,13 @@ class B : A() {
|
|||||||
bar()
|
bar()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
object O {
|
||||||
|
fun test() {
|
||||||
|
foo()
|
||||||
|
bar()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
init {
|
init {
|
||||||
foo()
|
foo()
|
||||||
|
|||||||
+8
@@ -30,6 +30,14 @@ public final class B : A {
|
|||||||
public final fun test(): kotlin.Unit
|
public final fun test(): kotlin.Unit
|
||||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public object O {
|
||||||
|
private constructor O()
|
||||||
|
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 final fun test(): kotlin.Unit
|
||||||
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public open class J {
|
public open class J {
|
||||||
|
|||||||
+8
@@ -28,6 +28,14 @@ class B : J2() {
|
|||||||
boo()
|
boo()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
object O {
|
||||||
|
fun test() {
|
||||||
|
foo()
|
||||||
|
bar()
|
||||||
|
boo()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
init {
|
init {
|
||||||
foo()
|
foo()
|
||||||
|
|||||||
+8
@@ -30,6 +30,14 @@ public final class B : J2 {
|
|||||||
public final fun test(): kotlin.Unit
|
public final fun test(): kotlin.Unit
|
||||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public object O {
|
||||||
|
private constructor O()
|
||||||
|
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 final fun test(): kotlin.Unit
|
||||||
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public open class J {
|
public open class J {
|
||||||
|
|||||||
+9
@@ -23,6 +23,15 @@ open class A<T> : J() {
|
|||||||
|
|
||||||
fun baz(): T = null!!
|
fun baz(): T = null!!
|
||||||
|
|
||||||
|
object O {
|
||||||
|
fun test() {
|
||||||
|
foo()
|
||||||
|
bar()
|
||||||
|
val a: Int = <!INACCESSIBLE_OUTER_CLASS_EXPRESSION!>baz()<!>
|
||||||
|
val b: <!UNRESOLVED_REFERENCE!>T<!> = <!INACCESSIBLE_OUTER_CLASS_EXPRESSION!>baz()<!>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
companion object : A<Int>() {
|
companion object : A<Int>() {
|
||||||
init {
|
init {
|
||||||
foo()
|
foo()
|
||||||
|
|||||||
+8
@@ -18,6 +18,14 @@ public open class A</*0*/ T> : J {
|
|||||||
public final override /*1*/ /*fake_override*/ fun test1(): kotlin.Unit
|
public final override /*1*/ /*fake_override*/ fun test1(): kotlin.Unit
|
||||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public object O {
|
||||||
|
private constructor O()
|
||||||
|
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 final fun test(): kotlin.Unit
|
||||||
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public open class J {
|
public open class J {
|
||||||
|
|||||||
Vendored
+7
@@ -15,6 +15,13 @@ class A {
|
|||||||
bar()
|
bar()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
object O {
|
||||||
|
fun test() {
|
||||||
|
foo()
|
||||||
|
bar()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
companion object : J() {
|
companion object : J() {
|
||||||
init {
|
init {
|
||||||
foo()
|
foo()
|
||||||
|
|||||||
Vendored
+8
@@ -15,6 +15,14 @@ public final class A {
|
|||||||
public final fun test(): kotlin.Unit
|
public final fun test(): kotlin.Unit
|
||||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public object O {
|
||||||
|
private constructor O()
|
||||||
|
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 final fun test(): kotlin.Unit
|
||||||
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public open class J {
|
public open class J {
|
||||||
|
|||||||
+9
@@ -22,6 +22,15 @@ class A {
|
|||||||
baz()
|
baz()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
object O {
|
||||||
|
fun test() {
|
||||||
|
foo()
|
||||||
|
bar()
|
||||||
|
baz()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
companion object : B() {
|
companion object : B() {
|
||||||
init {
|
init {
|
||||||
foo()
|
foo()
|
||||||
|
|||||||
+8
@@ -16,6 +16,14 @@ public final class A {
|
|||||||
public final fun test(): kotlin.Unit
|
public final fun test(): kotlin.Unit
|
||||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public object O {
|
||||||
|
private constructor O()
|
||||||
|
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 final fun test(): kotlin.Unit
|
||||||
|
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public open class B : J {
|
public open class B : J {
|
||||||
|
|||||||
Reference in New Issue
Block a user