Implement an intention action to move a companion object member to top level

#KT-18828 Fixed

(cherry picked from commit 11f8f8b)
This commit is contained in:
shiraji
2017-10-21 04:56:07 +03:00
committed by Alexey Sedunov
parent 7044e46756
commit 31a1fb916a
19 changed files with 221 additions and 22 deletions
@@ -0,0 +1,8 @@
// SHOULD_FAIL_WITH: Package 'foo.bar' already contains function f1(Int)
package foo.bar
object Test {
fun <caret>f1(n: Int) {}
}
fun f1(n: Int) {}