Extract Function: In case of top-level and member declarations place extracted function after the original container
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
// NEXT_SIBLING:
|
||||
fun i(): Int {
|
||||
MyClass.coFun()
|
||||
return MyClass.coProp + 10
|
||||
}
|
||||
|
||||
// SIBLING:
|
||||
class MyClass {
|
||||
fun test(): Int {
|
||||
return i()
|
||||
@@ -17,3 +12,8 @@ class MyClass {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun i(): Int {
|
||||
MyClass.coFun()
|
||||
return MyClass.coProp + 10
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user