Files
kotlin-fork/idea/idea-completion/testData/smart/inOperator/GenericMethod2.kt
T
Valentin Kipyatkov bb808b5620 Created module idea-test-framework and moved classes needed for idea tests there
Moved tests for completion and their test data into module idea-completion
2015-04-14 18:53:01 +03:00

14 lines
245 B
Kotlin
Vendored

trait X<T> {
fun contains(t: T): Boolean
}
trait A {
fun<T> createX(t: T): X<T>
fun foo(s: String) {
if (s in <caret>)
}
}
// EXIST: { lookupString:"createX", itemText: "createX", tailText: "(t: T)", typeText:"X<T>" }