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:
+5
@@ -0,0 +1,5 @@
|
||||
package lib
|
||||
|
||||
class Foo2
|
||||
|
||||
fun Foo(p: Int): Foo2 = Foo2()
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package usage
|
||||
|
||||
import lib.Foo
|
||||
import lib.Foo2
|
||||
|
||||
fun test() {
|
||||
val v: Foo2 = Foo(1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user