16 lines
519 B
Kotlin
Vendored
16 lines
519 B
Kotlin
Vendored
// 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()
|
|
}
|
|
}
|