Don't load Object as a supertype for Java classes

#KT-4890 In Progress
 #KT-5002 Fixed
This commit is contained in:
Alexander Udalov
2014-07-21 17:28:06 +04:00
parent bea740b478
commit a79398fa00
34 changed files with 95 additions and 130 deletions
@@ -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
@@ -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
}
@@ -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
}