Don't load Object as a supertype for Java classes
#KT-4890 In Progress #KT-5002 Fixed
This commit is contained in:
@@ -7,7 +7,7 @@ public final class InheritJavaField : test.Super {
|
||||
public open override /*1*/ /*fake_override*/ fun method(): kotlin.Int
|
||||
}
|
||||
|
||||
public open class Super : java.lang.Object {
|
||||
public open class Super {
|
||||
public constructor Super()
|
||||
public final var field: kotlin.Int
|
||||
private final var privateField: kotlin.Int
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
public /*synthesized*/ fun A(/*0*/ function: (kotlin.Int) -> kotlin.Unit): test.A
|
||||
|
||||
public trait A : java.lang.Object {
|
||||
public trait A {
|
||||
public abstract fun foo(/*0*/ p0: kotlin.Int): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package test
|
||||
|
||||
public /*synthesized*/ fun J(/*0*/ function: (test.K?) -> kotlin.Unit): test.J
|
||||
|
||||
public trait J : java.lang.Object {
|
||||
public trait J {
|
||||
public abstract fun foo(/*0*/ p0: test.K?): kotlin.Unit
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user