default -> companion: replace all mentions of default and default object
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
class A {
|
||||
default object {
|
||||
companion object {
|
||||
fun Int.foo(a: Int = 1): Int {
|
||||
return a
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
fun foo(a: String = "Default", b: Int = 1, c: Long = 2): String {
|
||||
fun foo(a: String = "Companion", b: Int = 1, c: Long = 2): String {
|
||||
return "$a $b $c"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user