Files
kotlin-fork/idea/testData/completion/handlers/smart/GenericFunction.kt
T
Svetlana Isakova 69f3a64408 Added test for KT-4929
Smart completion should work for generic method argument
 #KT-4929 Fixed
2014-04-30 13:34:35 +04:00

9 lines
110 B
Kotlin

class C<T>
fun <T> foo(p1: C<T>, p2: T){}
fun bar(s: String) {
foo(C<String>(), <caret>)
}
//ELEMENT: s