Move refactoring available on cut/paste declarations from an object to top-level

This commit is contained in:
Valentin Kipyatkov
2017-06-03 13:55:09 +03:00
parent b143b1be42
commit cfa442a42a
18 changed files with 250 additions and 23 deletions
@@ -0,0 +1,21 @@
package source
fun sourcePackFun(){}
object SourceObject {
fun other() {
foo()
}
}
fun foo() {
SourceObject.other()
sourcePackFun()
bar++
}
var bar = 1