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,6 +1,6 @@
|
||||
package test
|
||||
|
||||
class WithClassObject {
|
||||
class object {
|
||||
default object {
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@ package test
|
||||
import kotlin.platform.platformStatic
|
||||
|
||||
class PlatformStaticClass {
|
||||
class object {
|
||||
default object {
|
||||
platformStatic
|
||||
fun inClassObject<T>() {}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// ClassObjectField
|
||||
|
||||
class ClassObjectField {
|
||||
class object {
|
||||
default object {
|
||||
val x: String? = ""
|
||||
private val y: String? = ""
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// TraitClassObjectField
|
||||
|
||||
trait TraitClassObjectField {
|
||||
class object {
|
||||
default object {
|
||||
val x: String? = ""
|
||||
private val y: String? = ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user