FIR: Fix test data after making LHS of assignment an expression
KT-54648
This commit is contained in:
committed by
Space Team
parent
ace47c06a5
commit
1eb18f13bd
@@ -23,23 +23,23 @@ class P {
|
||||
|
||||
fun foo() {
|
||||
val p = P()
|
||||
<!INVISIBLE_SETTER!>p.x<!> = 34 //should be an error here
|
||||
p.<!INVISIBLE_SETTER!>x<!> = 34 //should be an error here
|
||||
p.y = 23
|
||||
|
||||
fun inner() {
|
||||
<!INVISIBLE_SETTER!>p.x<!> = 44
|
||||
p.<!INVISIBLE_SETTER!>x<!> = 44
|
||||
}
|
||||
}
|
||||
|
||||
class R {
|
||||
val p = P();
|
||||
init {
|
||||
<!INVISIBLE_SETTER!>p.x<!> = 42
|
||||
p.<!INVISIBLE_SETTER!>x<!> = 42
|
||||
}
|
||||
|
||||
val testInGetterInOtherClass : Int
|
||||
get() {
|
||||
<!INVISIBLE_SETTER!>p.x<!> = 33
|
||||
p.<!INVISIBLE_SETTER!>x<!> = 33
|
||||
return 3
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user