Intention to simplify boolean expressions that have expressions in them that can be simplified to constants

This commit is contained in:
Tal Man
2014-04-09 14:45:42 -04:00
parent aeb5bae556
commit 0feb0d35e6
42 changed files with 381 additions and 1 deletions
@@ -0,0 +1,5 @@
fun foo(y: Boolean) {
bar() && y || <caret>(y && true && bar()) || false
}
fun bar(): Boolean = false