Control-Flow Analysis: Reuse pseudo-value information for unused expression analysis

This commit is contained in:
Alexey Sedunov
2014-07-25 14:52:15 +04:00
parent 2a19016d58
commit 9cbcabffa4
55 changed files with 239 additions and 190 deletions
@@ -1,8 +1,7 @@
// "Suppress 'UNUSED_EXPRESSION' for statement " "true"
fun foo() {
val a = 1
[suppress("UNUSED_EXPRESSION")]
a
}
val a = 1
}
@@ -1,7 +1,6 @@
// "Suppress 'UNUSED_EXPRESSION' for statement " "true"
fun foo() {
val a = 1
a
}
val a = 1
}