Introduce Parameter: Implement "Introduce lambda parameter"
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fun foo(a: Int, s: String): Int {
|
||||
val t = (a + 1) * 2
|
||||
return <selection>a + 1</selection> - t
|
||||
}
|
||||
|
||||
fun test() {
|
||||
foo(1, "2")
|
||||
}
|
||||
Reference in New Issue
Block a user