Checked that auto-import works for extension properties

This commit is contained in:
Valentin Kipyatkov
2014-08-13 14:43:04 +04:00
parent 2841fab6d5
commit f8e2841c2b
5 changed files with 26 additions and 2 deletions
@@ -0,0 +1,9 @@
// "Import" "true"
// ERROR: Unresolved reference: someVal
package test
import test.data.someVal
fun some() {
"".someVal
}
@@ -0,0 +1,7 @@
// "Import" "true"
// ERROR: Unresolved reference: someVal
package test
fun some() {
"".<caret>someVal
}
@@ -0,0 +1,3 @@
package test.data
val String.someVal: Int get() = 1