default -> companion: replace all mentions of default and default object
This commit is contained in:
+3
-3
@@ -11,7 +11,7 @@ class A {
|
||||
nativeGetter
|
||||
fun foo(a: Double): String? = null
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
nativeGetter
|
||||
fun get(a: String): Any? = null
|
||||
|
||||
@@ -31,7 +31,7 @@ class B {
|
||||
nativeGetter
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>object Obj1<!> {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeGetter
|
||||
val foo<!> = 0
|
||||
|
||||
@@ -66,7 +66,7 @@ class C {
|
||||
nativeGetter
|
||||
fun baz(<!NATIVE_INDEXER_CAN_NOT_HAVE_DEFAULT_ARGUMENTS!>a: String = "foo"<!>): Int? = 0
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeGetter
|
||||
fun Int.get(a: String): Int?<!> = 1
|
||||
|
||||
|
||||
+6
-6
@@ -9,8 +9,8 @@ kotlin.js.native() internal final class A {
|
||||
kotlin.js.nativeGetter() internal final fun take(/*0*/ a: kotlin.Number): kotlin.String?
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): 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.nativeGetter() internal final fun foo(/*0*/ a: kotlin.Double): kotlin.String?
|
||||
kotlin.js.nativeGetter() internal final fun get(/*0*/ a: kotlin.String): kotlin.Any?
|
||||
@@ -27,8 +27,8 @@ kotlin.js.native() 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 default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
kotlin.js.nativeGetter() internal final val foo: kotlin.Int = 0
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@@ -64,8 +64,8 @@ kotlin.js.native() internal final class C {
|
||||
kotlin.js.nativeGetter() internal final fun kotlin.Int.get2(/*0*/ a: kotlin.Number): kotlin.String?
|
||||
kotlin.js.nativeGetter() internal final fun kotlin.Int.get3(/*0*/ a: 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
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
+2
-2
@@ -13,7 +13,7 @@ class A {
|
||||
nativeGetter
|
||||
fun foo(a: Double): String? = null
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
nativeGetter
|
||||
fun get(a: String): Any? = null
|
||||
|
||||
@@ -32,7 +32,7 @@ class A {
|
||||
nativeGetter
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>object Obj1<!> {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeGetter
|
||||
val foo<!> = 0
|
||||
|
||||
|
||||
+4
-4
@@ -22,8 +22,8 @@ kotlin.js.native() internal final class A {
|
||||
kotlin.js.nativeGetter() internal final fun take(/*0*/ a: kotlin.Number): kotlin.String?
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): 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.nativeGetter() internal final fun foo(/*0*/ a: kotlin.Double): kotlin.String?
|
||||
kotlin.js.nativeGetter() internal final fun get(/*0*/ a: kotlin.String): kotlin.Any?
|
||||
@@ -40,8 +40,8 @@ kotlin.js.native() 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 default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
kotlin.js.nativeGetter() internal final val foo: kotlin.Int = 0
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@ class A {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeGetter
|
||||
fun foo(a: Double): String?<!> = null
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeGetter
|
||||
fun get(a: String): Any?<!> = null
|
||||
|
||||
@@ -40,7 +40,7 @@ class A {
|
||||
nativeGetter
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>object Obj1<!> {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeGetter
|
||||
val foo<!> = 0
|
||||
|
||||
|
||||
+4
-4
@@ -22,8 +22,8 @@ internal final class A {
|
||||
kotlin.js.nativeGetter() internal final fun take(/*0*/ a: kotlin.Number): kotlin.String?
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): 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.nativeGetter() internal final fun foo(/*0*/ a: kotlin.Double): kotlin.String?
|
||||
kotlin.js.nativeGetter() internal final fun get(/*0*/ a: kotlin.String): kotlin.Any?
|
||||
@@ -43,8 +43,8 @@ internal final class A {
|
||||
kotlin.js.nativeGetter() internal final fun kotlin.Int.get2(/*0*/ a: kotlin.Number): kotlin.String?
|
||||
kotlin.js.nativeGetter() internal final fun kotlin.Int.get3(/*0*/ a: kotlin.Int): kotlin.String?
|
||||
|
||||
internal default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
kotlin.js.nativeGetter() internal final val foo: kotlin.Int = 0
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+2
-2
@@ -10,7 +10,7 @@ class A {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeGetter
|
||||
fun foo(a: Double): String?<!> = null
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeGetter
|
||||
fun get(a: String): Any?<!> = null
|
||||
|
||||
@@ -29,7 +29,7 @@ class B {
|
||||
nativeGetter
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>object Obj1<!> {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeGetter
|
||||
val foo<!> = 0
|
||||
|
||||
|
||||
+4
-4
@@ -9,8 +9,8 @@ internal final class A {
|
||||
kotlin.js.nativeGetter() internal final fun take(/*0*/ a: kotlin.Number): kotlin.String?
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): 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.nativeGetter() internal final fun foo(/*0*/ a: kotlin.Double): kotlin.String?
|
||||
kotlin.js.nativeGetter() internal final fun get(/*0*/ a: kotlin.String): kotlin.Any?
|
||||
@@ -27,8 +27,8 @@ 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 default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
kotlin.js.nativeGetter() internal final val foo: kotlin.Int = 0
|
||||
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
-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
|
||||
|
||||
+2
-2
@@ -17,7 +17,7 @@ class A {
|
||||
nativeSetter
|
||||
fun set5(a: Double, v: String): CharSequence = "OK"
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
nativeSetter
|
||||
fun set(a: String, v: Any?): Any? = null
|
||||
|
||||
@@ -43,7 +43,7 @@ class B {
|
||||
nativeSetter
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>object Obj1<!> {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeSetter
|
||||
val foo<!> = 0
|
||||
|
||||
|
||||
+4
-4
@@ -11,8 +11,8 @@ kotlin.js.native() internal final class A {
|
||||
kotlin.js.nativeSetter() internal final fun set5(/*0*/ a: kotlin.Double, /*1*/ v: kotlin.String): kotlin.CharSequence
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): 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.nativeSetter() internal final fun foo(/*0*/ a: kotlin.Int, /*1*/ v: kotlin.String): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@@ -31,8 +31,8 @@ kotlin.js.native() 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 default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
kotlin.js.nativeSetter() internal final val foo: kotlin.Int = 0
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+2
-2
@@ -19,7 +19,7 @@ class A {
|
||||
nativeSetter
|
||||
fun set5(a: Double, v: String): CharSequence = "OK"
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
nativeSetter
|
||||
fun set(a: String, v: Any?): Any? = null
|
||||
|
||||
@@ -44,7 +44,7 @@ class A {
|
||||
nativeSetter
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>object Obj1<!> {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeSetter
|
||||
val foo<!> = 0
|
||||
|
||||
|
||||
+4
-4
@@ -24,8 +24,8 @@ kotlin.js.native() internal final class A {
|
||||
kotlin.js.nativeSetter() internal final fun set5(/*0*/ a: kotlin.Double, /*1*/ v: kotlin.String): kotlin.CharSequence
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): 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.nativeSetter() internal final fun foo(/*0*/ a: kotlin.Int, /*1*/ v: kotlin.String): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@@ -44,8 +44,8 @@ kotlin.js.native() 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 default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
kotlin.js.nativeSetter() internal final val foo: kotlin.Int = 0
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+2
-2
@@ -18,7 +18,7 @@ class A {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeSetter
|
||||
fun set5(a: Double, v: String): CharSequence<!> = "OK"
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeSetter
|
||||
fun set(a: String, v: Any?): Any?<!> = null
|
||||
|
||||
@@ -37,7 +37,7 @@ class A {
|
||||
nativeSetter
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>object Obj1<!> {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeSetter
|
||||
val foo<!> = 0
|
||||
|
||||
|
||||
+4
-4
@@ -24,8 +24,8 @@ internal final class A {
|
||||
kotlin.js.nativeSetter() internal final fun set5(/*0*/ a: kotlin.Double, /*1*/ v: kotlin.String): kotlin.CharSequence
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): 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.nativeSetter() internal final fun foo(/*0*/ a: kotlin.Int, /*1*/ v: kotlin.String): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@@ -42,8 +42,8 @@ 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 default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
kotlin.js.nativeSetter() internal final val foo: kotlin.Int = 0
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+2
-2
@@ -10,7 +10,7 @@ class A {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeSetter
|
||||
fun foo(a: Int, v: String)<!> {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeSetter
|
||||
fun set(a: String, v: Any?): Any?<!> = null
|
||||
|
||||
@@ -29,7 +29,7 @@ class B {
|
||||
nativeSetter
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>object Obj1<!> {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
<!NATIVE_ANNOTATIONS_ALLOWED_ONLY_ON_MEMBER_OR_EXTENSION_FUN!>nativeSetter
|
||||
val foo<!> = 0
|
||||
|
||||
|
||||
+4
-4
@@ -9,8 +9,8 @@ internal final class A {
|
||||
kotlin.js.nativeSetter() internal final fun set(/*0*/ a: kotlin.String, /*1*/ v: kotlin.Any?): kotlin.Any?
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): 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.nativeSetter() internal final fun foo(/*0*/ a: kotlin.Int, /*1*/ v: kotlin.String): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
@@ -27,8 +27,8 @@ 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 default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
kotlin.js.nativeSetter() internal final val foo: kotlin.Int = 0
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
@@ -23,7 +23,7 @@ trait T {
|
||||
fun foo()
|
||||
fun bar() {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val baz: Int
|
||||
val boo: Int = noImpl
|
||||
|
||||
@@ -40,7 +40,7 @@ class C {
|
||||
fun foo()
|
||||
fun bar() {}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
val baz: Int
|
||||
val boo: Int = noImpl
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@ kotlin.js.native() 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 default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
internal final val baz: kotlin.Int
|
||||
internal final val boo: kotlin.Int
|
||||
internal final fun bar(): kotlin.String
|
||||
@@ -50,8 +50,8 @@ kotlin.js.native() internal trait T {
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
internal default object Default {
|
||||
private constructor Default()
|
||||
internal companion object Companion {
|
||||
private constructor Companion()
|
||||
internal final val baz: kotlin.Int
|
||||
internal final val boo: kotlin.Int
|
||||
internal final fun bar(): kotlin.String
|
||||
|
||||
Reference in New Issue
Block a user