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