14 lines
272 B
Kotlin
Vendored
14 lines
272 B
Kotlin
Vendored
interface X<T> {
|
|
operator fun contains(t: T): Boolean
|
|
}
|
|
|
|
interface A {
|
|
fun<T> createX(t: T): X<T>
|
|
|
|
fun foo(s: String) {
|
|
if (s in <caret>)
|
|
}
|
|
}
|
|
|
|
// EXIST: { lookupString:"createX", itemText: "createX", tailText: "(t: String)", typeText:"X<String>" }
|