KT-610 Distinguish errors 'unused variable' and 'variable is assigned but never accessed'
This commit is contained in:
@@ -11,7 +11,7 @@ class C() {
|
||||
}
|
||||
|
||||
fun f(): Unit {
|
||||
var x: Int? = 1
|
||||
var <warning>x</warning>: Int? = 1
|
||||
x = 1
|
||||
x <error>+</error> 1
|
||||
x <error>plus</error> 1
|
||||
|
||||
Reference in New Issue
Block a user