default -> companion: replace all mentions of default and default object
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@ class A {
|
||||
nativeInvoke
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>object Obj1<!> {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
nativeInvoke
|
||||
fun foo() {}
|
||||
|
||||
|
||||
+2
-2
@@ -11,8 +11,8 @@ kotlin.js.native() internal final class A {
|
||||
kotlin.js.nativeInvoke() internal final fun kotlin.Int.ext(): kotlin.Int
|
||||
kotlin.js.nativeInvoke() internal final fun kotlin.Int.invoke(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Int): kotlin.String
|
||||
|
||||
internal default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
kotlin.js.nativeInvoke() internal final val foo: kotlin.Int = 0
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
kotlin.js.nativeInvoke() internal final fun foo(): kotlin.Unit
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ class A {
|
||||
fun Int.invoke(a: String, b: Int)<!> = "OK"
|
||||
}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
nativeInvoke
|
||||
fun foo() {}
|
||||
|
||||
|
||||
+2
-2
@@ -24,8 +24,8 @@ kotlin.js.native() internal final class A {
|
||||
kotlin.js.nativeInvoke() internal final fun kotlin.Int.invoke(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Int): kotlin.String
|
||||
}
|
||||
|
||||
internal default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
kotlin.js.nativeInvoke() internal final fun foo(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ class A {
|
||||
fun invoke(a: String): Int<!> = 0
|
||||
}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeInvoke
|
||||
fun foo()<!> {}
|
||||
|
||||
|
||||
+2
-2
@@ -24,8 +24,8 @@ internal final class A {
|
||||
kotlin.js.nativeInvoke() internal final fun kotlin.Int.invoke(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Int): kotlin.String
|
||||
}
|
||||
|
||||
internal default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
kotlin.js.nativeInvoke() internal final fun foo(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ class A {
|
||||
nativeInvoke
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>object Obj<!> {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeInvoke
|
||||
fun foo()<!> {}
|
||||
|
||||
|
||||
+2
-2
@@ -11,8 +11,8 @@ internal final class A {
|
||||
kotlin.js.nativeInvoke() internal final fun kotlin.Int.ext(): kotlin.Int
|
||||
kotlin.js.nativeInvoke() internal final fun kotlin.Int.invoke(/*0*/ a: kotlin.String, /*1*/ b: kotlin.Int): kotlin.String
|
||||
|
||||
internal default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
kotlin.js.nativeInvoke() internal final fun foo(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
Reference in New Issue
Block a user