Extract Function: Add support of initializer expressions
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
// PARAM_TYPES: kotlin.Int
|
||||
// PARAM_TYPES: kotlin.Int
|
||||
fun foo(a: Int, b: Int) = i(a, b) - 1
|
||||
|
||||
fun i(a: Int, b: Int): Int {
|
||||
return a + b
|
||||
}
|
||||
Reference in New Issue
Block a user