added specializing error "Variable initializer is redundant" for unused-vars analysis

This commit is contained in:
svtk
2011-12-08 13:43:46 +04:00
parent 7213d43f22
commit e05dea7046
11 changed files with 43 additions and 39 deletions
@@ -137,7 +137,7 @@ fun tf() : Int {
<!UNREACHABLE_CODE!>return 1<!>
}
fun failtest(a : Int) : Int {
fun failtest(<!UNUSED_PARAMETER!>a<!> : Int) : Int {
if (fail() || <!UNREACHABLE_CODE!>true<!>) {
}