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:
@@ -1,7 +1,7 @@
|
||||
package test
|
||||
|
||||
public class Short {
|
||||
class object {
|
||||
default object {
|
||||
public fun valueOf(value: String): Short {
|
||||
return Short()
|
||||
}
|
||||
@@ -9,7 +9,7 @@ public class Short {
|
||||
}
|
||||
|
||||
class Test {
|
||||
class object {
|
||||
default object {
|
||||
public fun test() {
|
||||
test.Short.valueOf("1")
|
||||
test.Short.valueOf("1")
|
||||
|
||||
@@ -3,7 +3,7 @@ class S {
|
||||
return true
|
||||
}
|
||||
|
||||
class object {
|
||||
default object {
|
||||
var myI = 10
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
class S {
|
||||
class object {
|
||||
default object {
|
||||
fun staticF(): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ class S {
|
||||
return true
|
||||
}
|
||||
|
||||
class object {
|
||||
default object {
|
||||
fun sI(): Int {
|
||||
return 1
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class S {
|
||||
class object {
|
||||
default object {
|
||||
fun sB(): Boolean {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user