default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
fun Any.foo() = 1
|
||||
|
||||
class A {
|
||||
default object
|
||||
companion object
|
||||
}
|
||||
|
||||
fun box() = if (A.foo() == 1) "OK" else "fail"
|
||||
|
||||
Reference in New Issue
Block a user