default -> companion: replace all mentions of default and default object
This commit is contained in:
+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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user