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 = <warning>null</warning>
|
||||
while (true) <warning>a =</warning> null
|
||||
}
|
||||
Reference in New Issue
Block a user