diff options
Diffstat (limited to 'test/data/classes')
-rw-r--r-- | test/data/classes/classWithCompanionObject.kt (renamed from test/data/classes/classWithDefaultObject.kt) | 2 | ||||
-rw-r--r-- | test/data/classes/companionObjectExtension.kt (renamed from test/data/classes/defaultObjectExtension.kt) | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/data/classes/classWithDefaultObject.kt b/test/data/classes/classWithCompanionObject.kt index 92e1a695..fdbd915d 100644 --- a/test/data/classes/classWithDefaultObject.kt +++ b/test/data/classes/classWithCompanionObject.kt @@ -1,5 +1,5 @@ class Klass() { - default object { + companion object { val x = 1 fun foo() {} diff --git a/test/data/classes/defaultObjectExtension.kt b/test/data/classes/companionObjectExtension.kt index 58d2e86a..4b471376 100644 --- a/test/data/classes/defaultObjectExtension.kt +++ b/test/data/classes/companionObjectExtension.kt @@ -1,5 +1,5 @@ class Foo { - default object Default { + companion object Default { } } |