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
-1
@@ -1,6 +1,6 @@
|
||||
class C {
|
||||
suppress("warnings")
|
||||
class object {
|
||||
default object {
|
||||
val foo: String?? = null as Nothing?
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -6,7 +6,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
|
||||
|
||||
kotlin.suppress(names = {"warnings"}: kotlin.Array<out kotlin.String>) internal class object Default {
|
||||
kotlin.suppress(names = {"warnings"}: kotlin.Array<out kotlin.String>) internal default object Default {
|
||||
private constructor Default()
|
||||
internal final val foo: kotlin.String? = null
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class C {
|
||||
suppress("REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION")
|
||||
class object {
|
||||
default object {
|
||||
val foo: String?? = ""!! <!USELESS_CAST_STATIC_ASSERT_IS_FINE!>as String??<!>
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,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
|
||||
|
||||
kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}: kotlin.Array<out kotlin.String>) internal class object Default {
|
||||
kotlin.suppress(names = {"REDUNDANT_NULLABLE", "UNNECESSARY_NOT_NULL_ASSERTION"}: kotlin.Array<out kotlin.String>) internal default object Default {
|
||||
private constructor Default()
|
||||
internal final val foo: kotlin.String?
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
class C {
|
||||
suppress("REDUNDANT_NULLABLE")
|
||||
class object {
|
||||
default object {
|
||||
val foo: String?? = null <!USELESS_CAST!>as Nothing??<!>
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,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
|
||||
|
||||
kotlin.suppress(names = {"REDUNDANT_NULLABLE"}: kotlin.Array<out kotlin.String>) internal class object Default {
|
||||
kotlin.suppress(names = {"REDUNDANT_NULLABLE"}: kotlin.Array<out kotlin.String>) internal default object Default {
|
||||
private constructor Default()
|
||||
internal final val foo: kotlin.String? = null
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
Reference in New Issue
Block a user