Inline Variable: Parenthesize arguments of the form "e1 < e2" if the next argument has the form "e1 > e2"
#KT-8261 Fixed
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
fun f(a : (Any, Any) -> Unit, b : Int, c : Int, d : Int, e : Int, f : Int) {
|
||||
val <caret>g = b < c
|
||||
a(g, d > (e + f))
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun f(a : (Any, Any) -> Unit, b : Int, c : Int, d : Int, e : Int, f : Int) {
|
||||
a((b < c), d > (e + f))
|
||||
}
|
||||
Reference in New Issue
Block a user