Files
kotlin-fork/idea/idea-completion/testData/smart/generics/GenericFunction5.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
251 B
Kotlin
Vendored

class C<T> {
companion object {
fun<T> create(t: T): C<T>{}
}
}
fun foo(c: C<String>){}
fun f(){
foo(<caret>)
}
// EXIST: { lookupString: "create", itemText: "C.create", tailText: "(t: String) (<root>)", typeText: "C<String>" }