Extract Function: Add test data
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
// NEXT_SIBLING:
|
||||
fun i(a: Int, b: Int): Int {
|
||||
var b1 = b
|
||||
b1 += a
|
||||
println(b1)
|
||||
return b1
|
||||
}
|
||||
|
||||
fun foo(a: Int): Int {
|
||||
var b: Int = 1
|
||||
|
||||
b = i(a, b)
|
||||
|
||||
return b
|
||||
}
|
||||
Reference in New Issue
Block a user