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 @@
|
||||
// "Create function 'foo'" "true"
|
||||
|
||||
class A<T>(val n: T) {
|
||||
class object {
|
||||
default object {
|
||||
fun foo(i: Int): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create function 'foo'" "true"
|
||||
|
||||
class A<T>(val n: T) {
|
||||
class object {
|
||||
default object {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A {
|
||||
class object {
|
||||
default object {
|
||||
val test: Int get() {
|
||||
return <caret>foo
|
||||
}
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A {
|
||||
class object {
|
||||
default object {
|
||||
{
|
||||
val t: Int = <caret>foo
|
||||
}
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
// ERROR: Unresolved reference: foo
|
||||
|
||||
class A {
|
||||
class object {
|
||||
default object {
|
||||
val test: Int = <caret>foo
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
class object {
|
||||
default object {
|
||||
val foo: Int
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
// ERROR: Property must be initialized or be abstract
|
||||
|
||||
class A<T>(val n: T) {
|
||||
class object {
|
||||
default object {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user