Replace 'class object' with 'default object' in renderers and test data

Includes changes to decompiled text
Old syntax is used in builtins and project code for now
This commit is contained in:
Pavel V. Talanov
2015-03-06 12:51:59 +03:00
parent 28ed30bcb3
commit 59f192ef90
794 changed files with 1120 additions and 1109 deletions
@@ -13,13 +13,13 @@ fun test() {
}
class MyClass(): MyTrait {
deprecated("Use A instead") class object {
deprecated("Use A instead") default object {
val test: String = ""
}
}
trait MyTrait {
deprecated("Use A instead") class object {
deprecated("Use A instead") default object {
val test: String = ""
}
}
@@ -12,7 +12,7 @@ deprecated("Use A instead") fun test4(x: Int, y: Int) { x + y }
class MyClass() {
deprecated("Use A instead") fun test2() {}
class object {
default object {
deprecated("Use A instead") fun test3() {}
}
}
@@ -15,7 +15,7 @@ class MyClass() {
deprecated("Use A instead") val test2: String = ""
deprecated("Use A instead") var test5: String = ""
class object {
default object {
deprecated("Use A instead") val test3: String = ""
deprecated("Use A instead") var test6: String = ""
}