Control-Flow Analysis: Reuse pseudo-value information for unused expression analysis
This commit is contained in:
@@ -3,7 +3,7 @@ fun testIf() {
|
||||
}
|
||||
|
||||
fun testIf1(b: Boolean) {
|
||||
if (b) todo() else 1
|
||||
if (b) todo() else <!UNUSED_EXPRESSION!>1<!>
|
||||
|
||||
bar()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user