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