FIR IDE: Add extensions function completion from indices
The insertion handling test is not correct, we need to check file imports before adding new ones
This commit is contained in:
-1
@@ -1,4 +1,3 @@
|
||||
// FIR_COMPARISON
|
||||
fun String.foo() {
|
||||
val v = ::xxx_<caret>
|
||||
}
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
package first
|
||||
|
||||
interface TestedTrait() {
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
package second
|
||||
|
||||
import first.FirstClass
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
package first
|
||||
|
||||
class FirstClass() {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
package first
|
||||
|
||||
// For KT-3102
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
package first
|
||||
|
||||
fun firstFun(p: () -> Unit) {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
package first
|
||||
|
||||
fun firstFun(p: String.() -> Unit) {
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_COMPARISON
|
||||
package first
|
||||
|
||||
fun firstFun(x: third.Dependency) {
|
||||
|
||||
Reference in New Issue
Block a user