Fix false negative in not reduceable binary expression #KT-26179 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
8f80851b9a
commit
1a31ce769c
@@ -0,0 +1,4 @@
|
||||
fun test() {
|
||||
foo(<caret>false || !true) ?: return
|
||||
}
|
||||
fun foo(v: Boolean): Int = 1
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
fun test() {
|
||||
foo(false) ?: return
|
||||
}
|
||||
fun foo(v: Boolean): Int = 1
|
||||
@@ -0,0 +1,4 @@
|
||||
fun test() {
|
||||
foo(false || !true) + foo(<caret>false || !true)
|
||||
}
|
||||
fun foo(v: Boolean): Int = 1
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
fun test() {
|
||||
foo(false || !true) + foo(false)
|
||||
}
|
||||
fun foo(v: Boolean): Int = 1
|
||||
Reference in New Issue
Block a user