Fix SimplifyBooleanWithConstantsIntention intention to avoid analyzing files created by JetPsiFactory
This commit is contained in:
@@ -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)
|
||||
}
|
||||
Reference in New Issue
Block a user