KT-11955 Copy/Paste inserts FQ-name

#KT-11955 Fixed
This commit is contained in:
Valentin Kipyatkov
2016-04-19 16:50:23 +03:00
parent 364a8801a3
commit 1535e8ad90
11 changed files with 58 additions and 6 deletions
@@ -0,0 +1,4 @@
package a.b.c.d
fun foo(p: Int) {}
fun foo(p: String) {}
@@ -0,0 +1,6 @@
// ERROR: Unresolved reference: p
import a.b.c.d.foo
fun g() {
foo(p)
}
@@ -0,0 +1 @@
a.b.c.d.foo
+5
View File
@@ -0,0 +1,5 @@
import a.b.c.d.foo
fun f(p: Int) {
<selection>foo(p)</selection>
}
@@ -0,0 +1,3 @@
fun g() {
<caret>
}