blob: 2d4b3cc2acc9b6b38d4f217f6d62ab709cf5f9e1 [file]
// FIR_IDENTICAL
package conflictingSubstitutions
//+JDK
import java.util.*
fun <R> elemAndList(r: R, t: MutableList<R>): R = r
fun <R> R.elemAndListWithReceiver(r: R, t: MutableList<R>): R = r
fun test() {
val s = elemAndList(11, list("72"))
val u = 11.elemAndListWithReceiver(4, list("7"))
}
fun <T> list(value: T) : ArrayList<T> {
val list = ArrayList<T>()
list.add(value)
return list
}