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:
@@ -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 = ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user