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
@@ -25,7 +25,7 @@ fun f(): Unit {
<error>x</error> in 1..2
val y : Boolean? = true
false || <error>y</error>
<error>y</error> && true
<error>y</error> && <error>1</error>
<warning>false || <error>y</error></warning>
<warning><error>y</error> && true</warning>
<warning><error>y</error> && <error>1</error></warning>
}