default -> companion: replace all mentions of default and default object

This commit is contained in:
Pavel V. Talanov
2015-03-16 14:56:06 +03:00
parent a0783757e8
commit 06916d98c6
1019 changed files with 2468 additions and 2469 deletions
@@ -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