2bd5a1f196
It will be needed for structure mutability inference #KT-21467 fixed #KT-32609 fixed #KT-32572 fixed #KT-24677 fixed
15 lines
584 B
Kotlin
Vendored
15 lines
584 B
Kotlin
Vendored
fun a(lst: /*T1@*/List</*T0@*/String>) {
|
|
val newList: /*T8@*/List</*T7@*/Int> = lst/*T1@List<T0@String>*/
|
|
.asSequence</*T2@*/String>()/*Sequence<T2@String>*/
|
|
.map</*T4@*/String, /*T5@*/Int>({ x: /*T3@*/String -> 1/*LIT*/ }/*Function1<T3@String, T9@Int>*/)/*Sequence<T5@Int>*/
|
|
.toList</*T6@*/Int>()/*List<T6@Int>*/
|
|
}
|
|
|
|
//T0 <: T2 due to 'RECEIVER_PARAMETER'
|
|
//LOWER <: T9 due to 'RETURN'
|
|
//T2 <: T4 due to 'RECEIVER_PARAMETER'
|
|
//T4 <: T3 due to 'PARAMETER'
|
|
//T9 <: T5 due to 'PARAMETER'
|
|
//T5 <: T6 due to 'RECEIVER_PARAMETER'
|
|
//T6 <: T7 due to 'INITIALIZER'
|