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,10 +1,10 @@
|
||||
class Z(val a: Int)
|
||||
|
||||
// NEXT_SIBLING:
|
||||
fun Z.i(): Int {
|
||||
return a
|
||||
}
|
||||
|
||||
// SIBLING:
|
||||
fun Z.foo(): Int {
|
||||
return i() + 1
|
||||
}
|
||||
|
||||
fun Z.i(): Int {
|
||||
return a
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user