FIR IDE: Fix import of properties; also fix bug in alreadyHasImport

This commit is contained in:
Roman Golyshev
2021-03-16 15:25:51 +03:00
parent 054d6ccdfb
commit 184838ae35
5 changed files with 41 additions and 11 deletions
@@ -0,0 +1,8 @@
// FIR_COMPARISON
package first
import second.extensionProp
fun foo() {
"".extensi<caret>
}
@@ -0,0 +1,4 @@
package second
val String.extensionProp: Int
get() = 1
@@ -0,0 +1,8 @@
// FIR_COMPARISON
package first
import second.extensionProp
fun foo() {
"".extensionProp<caret>
}