Files
kotlin-fork/nj2k/testData/inference/mutability/listIteratorMutableCalls.kt
T
Dmitry Gridin 11a3482970 tests: apply official code style
#KT-38632 Fixed
2020-05-07 12:36:44 +00:00

17 lines
551 B
Kotlin
Vendored

fun a(
l0: /*T1@*/MutableListIterator</*T0@*/Int>,
l1: /*T3@*/MutableListIterator</*T2@*/Int>,
l2: /*T5@*/MutableListIterator</*T4@*/Int>
) {
l0/*T1@MutableListIterator<T0@Int>*/.add(1/*LIT*/)
l1/*T3@MutableListIterator<T2@Int>*/.remove()
l2/*T5@MutableListIterator<T4@Int>*/.set(1/*LIT*/)
}
//T0 := T0 due to 'RECEIVER_PARAMETER'
//T1 := LOWER due to 'USE_AS_RECEIVER'
//T2 := T2 due to 'RECEIVER_PARAMETER'
//T3 := LOWER due to 'USE_AS_RECEIVER'
//T4 := T4 due to 'RECEIVER_PARAMETER'
//T5 := LOWER due to 'USE_AS_RECEIVER'