blob: 872107c715ecf9267f4cc0f9202dfcfc1e15d3f2 [file]
// RUN_PIPELINE_TILL: CODEGEN
package n
//+JDK
import java.util.*
fun <T> expected(t: T, f: () -> T) : T = t
fun test(arrayList: ArrayList<Int>, list: List<Int>) {
val t = expected(arrayList, { list.reverse() })
}
fun <T> List<T>.reverse() : List<T> = this
/* GENERATED_FIR_TAGS: funWithExtensionReceiver, functionDeclaration, functionalType, lambdaLiteral, localProperty,
nullableType, propertyDeclaration, thisExpression, typeParameter */