blob: 679f933a00a42a2b9f879f0938bcefdf84f39491 [file]
// RUN_PIPELINE_TILL: FRONTEND
import <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>kotlin.jvm.functions.Function0<!>
val x: <!PLATFORM_CLASS_MAPPED_TO_KOTLIN!>Function0<Int><!> <!INITIALIZER_TYPE_MISMATCH!>=<!> { 42 }
val y: Function1<String, String> = { it }
class MyFunction : Function2<Int, String, Unit> {
override fun invoke(p1: Int, p2: String) {}
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, integerLiteral, lambdaLiteral, operator, override,
propertyDeclaration */