Extract Function: Add test data
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// NEXT_SIBLING:
|
||||
fun unit(a: Int, b: Int) {
|
||||
if (a > 0) {
|
||||
println(a)
|
||||
}
|
||||
println(b)
|
||||
}
|
||||
|
||||
fun foo(a: Int) {
|
||||
val b: Int = 1
|
||||
|
||||
unit(a, b)
|
||||
}
|
||||
Reference in New Issue
Block a user