KT-1151 Code completion for not imported extension functions - more tests for extension functions and properties

This commit is contained in:
Nikolay Krasko
2012-02-28 22:04:49 +04:00
parent 67dc9ba6e3
commit a086e3985e
9 changed files with 89 additions and 0 deletions
@@ -0,0 +1,16 @@
package second
open class SomeOther() {}
class SomeTest<T> {
fun testingMethod() {
}
}
fun <U : SomeOther> SomeTest<U>.testingUnexpectedFunction() {
}
fun <W : Any> SomeTest<W>.testingExpectedFunction(i : Int) : String {
return ""
}