blob: 227db145c2fa4608f21b21c1a247fd099c31a4ba [file]
// RUN_PIPELINE_TILL: BACKEND
// WITH_STDLIB
interface FirExpression
interface FirNamedArgumentExpression : FirExpression {
val expression: FirNamedArgumentExpression
}
class AnnotationUseSiteTarget
private fun List<FirExpression>.toAnnotationUseSiteTargets2(): Set<AnnotationUseSiteTarget> =
flatMapTo(mutableSetOf()) { arg ->
when (val unwrappedArg = if (arg is FirNamedArgumentExpression) <!DEBUG_INFO_SMARTCAST!>arg<!>.expression else arg) {
is FirNamedArgumentExpression -> setOf()
else -> setOf()
}
}
/* GENERATED_FIR_TAGS: classDeclaration, funWithExtensionReceiver, functionDeclaration, ifExpression,
interfaceDeclaration, isExpression, lambdaLiteral, localProperty, propertyDeclaration, smartcast, whenExpression,
whenWithSubject */