[FIR] Report VAL_REASSIGNMENT on assign to non-local vals
In this commit reporting on member properties in init section of class is not supported (see KT-55528) ^KT-55493 Fixed
This commit is contained in:
committed by
Space Team
parent
e87a064cdd
commit
02e327277e
@@ -8,8 +8,8 @@ fun foo(a: A) {
|
||||
get() = 42
|
||||
}
|
||||
|
||||
a.z = 23
|
||||
o.y = 11 //Should be an error here
|
||||
a.<!VAL_REASSIGNMENT!>z<!> = 23
|
||||
o.<!VAL_REASSIGNMENT!>y<!> = 11 //Should be an error here
|
||||
}
|
||||
|
||||
class A() {
|
||||
|
||||
Reference in New Issue
Block a user