856be73500
#KT-6375 Fixed
15 lines
360 B
Kotlin
15 lines
360 B
Kotlin
fun<T> emptyList(): List<T> = listOf()
|
|
|
|
fun foo(list: List<String>){}
|
|
fun foo(list: List<String>, i: Int){}
|
|
fun foo(list: List<Int>, b: Boolean){}
|
|
fun foo(list: List<Int>, c: Char){}
|
|
|
|
fun f(){
|
|
foo(empty<caret>)
|
|
}
|
|
|
|
// EXIST: { lookupString: "emptyList", typeText: "List<String>" }
|
|
// EXIST: { lookupString: "emptyList", typeText: "List<Int>" }
|
|
// NUMBER: 2
|