fbf2cded0d
Extract common code from JetFixtureCompletionBaseTestCase to CompletionTestUtil.kt Reason for this change is that I couldn't get the check that prohibits tree loading to work with fixture test case
16 lines
243 B
Kotlin
16 lines
243 B
Kotlin
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 ""
|
|
} |