update testdata for https://github.com/JetBrains/kotlin/pull/896/
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ import kotlin.reflect.KProperty
|
||||
// "Create member function 'getValue'" "true"
|
||||
class F {
|
||||
operator fun getValue(x: X, property: KProperty<*>): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -3,11 +3,11 @@ import kotlin.reflect.KProperty
|
||||
// "Create member function 'getValue', function 'setValue'" "true"
|
||||
class F {
|
||||
operator fun getValue(x: X, property: KProperty<*>): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
operator fun setValue(x: X, property: KProperty<*>, i: Int) {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -5,7 +5,7 @@ class F {
|
||||
operator fun setValue(x: X, property: KProperty<*>, i: Int) { }
|
||||
|
||||
operator fun getValue(x: X, property: KProperty<*>): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -5,7 +5,7 @@ class F {
|
||||
operator fun getValue(x: X, property: KProperty<*>): Int = 1
|
||||
|
||||
operator fun setValue(x: X, property: KProperty<*>, i: Int) {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user