Fix SimplifyBooleanWithConstantsIntention intention to avoid analyzing files created by JetPsiFactory

This commit is contained in:
Pavel V. Talanov
2014-07-20 19:09:34 +04:00
parent 1bc0a9dfd9
commit f44ba60d51
5 changed files with 39 additions and 17 deletions
@@ -0,0 +1,5 @@
fun foo() {
val x = true
val y = false
(((((x || false)) && y)) <caret>|| false)
}
@@ -0,0 +1,5 @@
fun foo() {
val x = true
val y = false
(x && y)
}