MoveLambdaOutsideParentheses: intention -> inspection #KT-21413 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
83573ed517
commit
decf9939fe
+9
@@ -0,0 +1,9 @@
|
||||
// IS_APPLICABLE: true
|
||||
fun bar(x: Int, f: () -> Unit) {}
|
||||
fun foo(a: Int, b: Int) = 2
|
||||
|
||||
fun test() {
|
||||
bar(1, {
|
||||
<caret>val a = foo(1, 2)
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user