Completion: fix shortening of fully qualified name for case of conflicts between property and function
#KT-31902 Fixed #KT-33937 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
package a
|
||||
|
||||
class Goo {
|
||||
fun x() {
|
||||
foo<caret>
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package a.b
|
||||
|
||||
val Foo.foo: Int get() = 123
|
||||
fun foo(i: (Int, Int) -> Unit) {}
|
||||
class Foo {}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package a
|
||||
|
||||
import a.b.foo
|
||||
|
||||
class Goo {
|
||||
fun x() {
|
||||
foo { i, i2 -> }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user