9 lines
282 B
Kotlin
9 lines
282 B
Kotlin
//KT-1127 Wrong type computed for Arrays.asList()
|
|
|
|
package d
|
|
|
|
fun <T> asList(<!UNUSED_PARAMETER!>t<!>: T) : List<T>? {<!NO_RETURN_IN_FUNCTION_WITH_BLOCK_BODY!>}<!>
|
|
|
|
fun main(args : Array<String>) {
|
|
val <!UNUSED_VARIABLE!>list<!> : List<String> = <!TYPE_MISMATCH!>asList("")<!>
|
|
} |