Expression can be parenthesized on replace with if (KT-22874, EA-91186)
#KT-22874 Fixed
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
fun test(some: Boolean) {
|
||||
<selection>some</selection>.equals(true)
|
||||
}
|
||||
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
fun test(some: Boolean) {
|
||||
(if (some) {
|
||||
<caret>
|
||||
} else {
|
||||
}).equals(true)
|
||||
}
|
||||
Reference in New Issue
Block a user