Added test for "Can't navigate to sources of the filter() extension function"

#KT-1681can't reproduce
This commit is contained in:
Evgeny Gerashchenko
2012-04-04 18:54:09 +04:00
parent 53b6218878
commit 9b04e85282
4 changed files with 13 additions and 2 deletions
+5 -1
View File
@@ -1,5 +1,7 @@
package testData.libraries
import java.util.*
trait SimpleTrait {
}
@@ -89,4 +91,6 @@ fun func(a : Int, b : Int) {
}
fun func() {
}
}
inline fun <T> T.filter(predicate: (T)-> Boolean) : T? = this