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:
@@ -1,7 +1,7 @@
|
||||
trait Tr
|
||||
|
||||
class A { class object }
|
||||
class B { class object : Tr }
|
||||
class A { default object }
|
||||
class B { default object : Tr }
|
||||
|
||||
fun Any.f1() {}
|
||||
fun Any?.f2() {}
|
||||
|
||||
@@ -13,7 +13,7 @@ internal final class A {
|
||||
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
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@@ -27,7 +27,7 @@ internal final class B {
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
internal class object Default : Tr {
|
||||
internal default object Default : Tr {
|
||||
private constructor Default()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
@@ -5,7 +5,7 @@ trait JPAEntityClass<D> {
|
||||
}
|
||||
|
||||
class Foo {
|
||||
class object : JPAEntityClass<Foo>
|
||||
default object : JPAEntityClass<Foo>
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
|
||||
@@ -9,7 +9,7 @@ internal final class Foo {
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
internal class object Default : JPAEntityClass<Foo> {
|
||||
internal default object Default : JPAEntityClass<Foo> {
|
||||
private constructor Default()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class A {
|
||||
class object {
|
||||
default object {
|
||||
fun foo() = toString()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ internal final class A {
|
||||
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
|
||||
internal final fun foo(): kotlin.String
|
||||
|
||||
Reference in New Issue
Block a user