KT-1273 Unused assignment - should highlight assignment instead of expression
#KT-1273 Fixed
This commit is contained in:
@@ -14,7 +14,7 @@ fun foo(a: Any?): Int {
|
||||
|
||||
var <!ASSIGNED_BUT_NEVER_ACCESSED_VARIABLE!>b<!> = 1
|
||||
|
||||
(<!SYNTAX!>@<!> b) = <!UNUSED_VALUE!>2<!>
|
||||
<!UNUSED_VALUE!>(<!SYNTAX!>@<!> b) =<!> 2
|
||||
|
||||
return<!SYNTAX!>@<!> 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user