Replace 'class object' with 'default object' in renderers and test data
Includes changes to decompiled text Old syntax is used in builtins and project code for now
This commit is contained in:
@@ -5,7 +5,7 @@ import kotlin.jvm.*
|
||||
class C {
|
||||
<!NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun foo()<!> {}
|
||||
|
||||
class object {
|
||||
default object {
|
||||
<!NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun foo()<!> {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ internal final class C {
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
internal class object Default {
|
||||
internal default object Default {
|
||||
private constructor Default()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
kotlin.jvm.native() internal final fun foo(): kotlin.Unit
|
||||
|
||||
@@ -5,7 +5,7 @@ native fun foo()
|
||||
class C {
|
||||
native fun foo()
|
||||
|
||||
class object {
|
||||
default object {
|
||||
native fun foo()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ internal final class C {
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
internal class object Default {
|
||||
internal default object Default {
|
||||
private constructor Default()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
kotlin.jvm.native() internal final fun foo(): kotlin.Unit
|
||||
|
||||
@@ -4,7 +4,7 @@ trait Tr {
|
||||
<!NATIVE_DECLARATION_IN_TRAIT!>native fun foo()<!>
|
||||
<!NATIVE_DECLARATION_IN_TRAIT, NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun bar()<!> {}
|
||||
|
||||
class object {
|
||||
default object {
|
||||
native fun foo()
|
||||
<!NATIVE_DECLARATION_CANNOT_HAVE_BODY!>native fun bar()<!> {}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ internal trait Tr {
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
internal class object Default {
|
||||
internal default object Default {
|
||||
private constructor Default()
|
||||
kotlin.jvm.native() internal final fun bar(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
Reference in New Issue
Block a user