default -> companion: replace all mentions of default and default object
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Foo {
|
||||
default object {
|
||||
companion object {
|
||||
val baz = Foo()
|
||||
}
|
||||
}
|
||||
@@ -11,8 +11,8 @@ fun test() {
|
||||
|
||||
Resolved call:
|
||||
|
||||
Resulting descriptor: val baz: Foo defined in Foo.Default
|
||||
Resulting descriptor: val baz: Foo defined in Foo.Companion
|
||||
|
||||
Explicit receiver kind = DISPATCH_RECEIVER
|
||||
Dispatch receiver = Foo {Default}
|
||||
Dispatch receiver = Foo {Companion}
|
||||
Extension receiver = NO_RECEIVER
|
||||
|
||||
Reference in New Issue
Block a user