Rename: Fix rename of ambiguous import reference to class/function when some referenced declarations are not changed

#KT-6663 Fixed
(cherry picked from commit 9ba8ecd)
This commit is contained in:
Alexey Sedunov
2016-06-14 16:14:26 +03:00
parent b87d8e29e4
commit 4c447d0580
15 changed files with 141 additions and 42 deletions
@@ -0,0 +1,5 @@
package lib
class Foo2
fun Foo(p: Int): Foo2 = Foo2()
@@ -0,0 +1,9 @@
package usage
import lib.Foo
import lib.Foo2
fun test() {
val v: Foo2 = Foo(1)
}