default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -8,7 +8,7 @@ class C(private val arg1: Int, private val arg2: Int, private val arg3: Int) {
|
||||
System.out.println(foo(1) + this.foo(2) + other.foo(3) + staticFoo(4) + C.staticFoo(5))
|
||||
}
|
||||
|
||||
default object {
|
||||
companion object {
|
||||
private fun staticFoo(p: Int): Int {
|
||||
return p
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user