Extract Function: Do not extract into lambda
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
// PARAM_TYPES: kotlin.Int
|
||||
// PARAM_TYPES: kotlin.Int
|
||||
fun bar(n: Int) {
|
||||
fun foo(a: Int, b: Int) = { <selection>a + b - n</selection> - 1 }.invoke()
|
||||
}
|
||||
Reference in New Issue
Block a user