Move refactoring available on cut/paste declarations from an object to top-level
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
package source
|
||||
|
||||
fun sourcePackFun(){}
|
||||
|
||||
object SourceObject {
|
||||
<selection>
|
||||
fun foo() {
|
||||
other()
|
||||
sourcePackFun()
|
||||
bar++
|
||||
}
|
||||
|
||||
var bar = 1
|
||||
</selection>
|
||||
|
||||
fun other() {
|
||||
foo()
|
||||
}
|
||||
}
|
||||
|
||||
<caret>
|
||||
Reference in New Issue
Block a user