FIR: report VAL_REASSIGNMENT on synthetic immutable properties
#KT-50972 Fixed
This commit is contained in:
committed by
teamcity
parent
b8c36b7998
commit
029e946fb2
Vendored
+1
-1
@@ -9,7 +9,7 @@ fun foo(k: KotlinClass) {
|
||||
if (<!SENSELESS_COMPARISON!>k.something == null<!>) return
|
||||
|
||||
k.setSomething(1)
|
||||
k.something = <!ASSIGNMENT_TYPE_MISMATCH!>1<!>
|
||||
k.<!VAL_REASSIGNMENT!>something<!> = <!ASSIGNMENT_TYPE_MISMATCH!>1<!>
|
||||
}
|
||||
|
||||
fun useString(i: String) {}
|
||||
|
||||
Reference in New Issue
Block a user