Extension callables index is built correctly when using alias imports

This commit is contained in:
Valentin Kipyatkov
2015-03-31 16:19:42 +03:00
parent bff2b2f378
commit 0243280668
5 changed files with 65 additions and 5 deletions
@@ -0,0 +1,9 @@
package second
import third.Dependency as MyDependency
fun MyDependency?.helloFun() {
}
fun <T: MyDependency> T.helloFunGeneric() {
}
@@ -0,0 +1,9 @@
package first
fun firstFun(x: third.Dependency) {
x.hello<caret>
}
// EXIST: helloFun
// EXIST: helloFunGeneric
// NUMBER: 2