KT-1191 Wrong detection of unused parameters
KT-1219 Incorrect 'unused value' error in closures
This commit is contained in:
@@ -328,7 +328,7 @@ fun func() {
|
||||
val <!UNUSED_VARIABLE!>a<!> = object {
|
||||
val x = b
|
||||
{
|
||||
<!VAL_REASSIGNMENT!>b<!> = <!UNUSED_VALUE!>4<!>
|
||||
<!VAL_REASSIGNMENT!>b<!> = 4
|
||||
<!UNRESOLVED_REFERENCE!>$b<!> = 3
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user