KT-1273 Unused assignment - should highlight assignment instead of expression
#KT-1273 Fixed
This commit is contained in:
@@ -2,5 +2,5 @@ fun test() {
|
||||
var a : Any? = null
|
||||
if (a is Any) else a = null;
|
||||
while (a is Any) a = null
|
||||
while (true) a = <!UNUSED_VALUE!>null<!>
|
||||
while (true) <!UNUSED_VALUE!>a =<!> null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user