default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -7,7 +7,7 @@ fun f(x: Int): Int = x * 2
|
||||
fun Int.f(): Int = this * 3
|
||||
|
||||
class A(var value: Int) {
|
||||
default object {
|
||||
companion object {
|
||||
fun f(): Int = 5
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user