Get rid of FIELD_IDENTIFIER at syntax level, two errors dropped, a set of tests fixed / deleted #KT-9539 Fixed

This commit is contained in:
Mikhail Glukhikh
2015-10-20 13:55:37 +03:00
parent 8ea0501a30
commit d6988ad69e
97 changed files with 177 additions and 792 deletions
-6
View File
@@ -39,12 +39,6 @@ annotation class Fancy(val param: Int)
@Fancy(<caret>i) class D
class Foo {
var x: Int = 0
get = $x
set(value) { $x = value }
}
class CustomDelegate {
operator fun get(thisRef: Any?, prop: PropertyMetadata): String = ""
operator fun set(thisRef: Any?, prop: PropertyMetadata, value: String) {}
-6
View File
@@ -39,12 +39,6 @@ annotation class Fancy(val param: Int)
@Fancy(i) class D
class Foo {
var x: Int = 0
get = field
set(value) { field = value }
}
class CustomDelegate {
operator fun getValue(thisRef: Any?, prop: KProperty<*>): String = ""
operator fun setValue(thisRef: Any?, prop: KProperty<*>, value: String) {}