default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -20,7 +20,7 @@ fun foo() {
|
||||
println(2)
|
||||
}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
fun f() = 1
|
||||
val g = f() - 1
|
||||
}
|
||||
@@ -39,7 +39,7 @@ fun foo() {
|
||||
|
||||
val p = 1
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
fun f() = 1
|
||||
val g = f() - 1
|
||||
}
|
||||
@@ -77,7 +77,7 @@ fun foo() {
|
||||
println(2)
|
||||
}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
fun f() = 1
|
||||
val g = f() - 1
|
||||
}
|
||||
@@ -103,7 +103,7 @@ fun foo() {
|
||||
println(2)
|
||||
}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
fun f() = 1
|
||||
val g = f() - 1
|
||||
}
|
||||
@@ -129,7 +129,7 @@ fun foo() {
|
||||
println(2)
|
||||
}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
fun f() = 1
|
||||
val g = f() - 1
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ class A {
|
||||
println(2)
|
||||
}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
fun f() = 1
|
||||
val g = f() - 1
|
||||
}
|
||||
@@ -37,7 +37,7 @@ class B {
|
||||
|
||||
val p = 1
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
fun f() = 1
|
||||
val g = f() - 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user