[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
+1
-1
@@ -7,7 +7,7 @@ class B(p0: String) {
|
||||
p3 = p1
|
||||
}
|
||||
init {
|
||||
p1 = <!ASSIGNMENT_TYPE_MISMATCH!>p0.length<!>
|
||||
<!VAL_REASSIGNMENT!>p1<!> = <!ASSIGNMENT_TYPE_MISMATCH!>p0.length<!>
|
||||
p3 = ""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user