KT-610 Distinguish errors 'unused variable' and 'variable is assigned but never accessed'

This commit is contained in:
svtk
2011-11-28 13:15:03 +04:00
parent 4c2b0b9444
commit ecb3db0912
11 changed files with 139 additions and 96 deletions
@@ -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