Extension callables index and its use in completion

This commit is contained in:
Valentin Kipyatkov
2015-03-30 22:45:14 +03:00
parent 546af84435
commit 5ba5618718
15 changed files with 245 additions and 75 deletions
@@ -1,6 +1,6 @@
package second
fun String.helloFun() {
fun String?.helloFun() {
}
fun String.helloWithParams(i : Int) : String {
@@ -10,5 +10,8 @@ fun String.helloWithParams(i : Int) : String {
fun String.helloFunPreventAutoInsert() {
}
fun <T: CharSequence> T.helloFunGeneric() {
}
fun Int.helloFake() {
}
@@ -8,5 +8,6 @@ fun firstFun() {
// EXIST: helloFun
// EXIST: helloFunPreventAutoInsert
// EXIST: helloWithParams
// EXIST: helloFunGeneric
// ABSENT: helloFake
// NUMBER: 3
// NUMBER: 4