Extract Function: In case of top-level and member declarations place extracted function after the original container
This commit is contained in:
+5
-5
@@ -1,9 +1,9 @@
|
||||
// NEXT_SIBLING:
|
||||
fun i(a: Int, b: Int): Int {
|
||||
return a + b
|
||||
}
|
||||
|
||||
// SIBLING:
|
||||
fun foo(a: Int): Int {
|
||||
val b: Int = 1
|
||||
return i(a, b)
|
||||
}
|
||||
|
||||
fun i(a: Int, b: Int): Int {
|
||||
return a + b
|
||||
}
|
||||
Reference in New Issue
Block a user