blob: d5e2a529a6d21794e6fe9bb57438f471806b994c [file]
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
@Target(AnnotationTarget.TYPE)
annotation class Anno(val str: String)
const val prop = "str"
fun foo() {
class Local {
fun foo() = bar()
fun bar(): @Anno("bar $prop") List<@Anno("nested bar $prop") Collection<@Anno("nested nested bar $prop") Int>>? = null
fun baz() = bar()
}
}
/* GENERATED_FIR_TAGS: annotationDeclaration, classDeclaration, const, functionDeclaration, localClass, nullableType,
primaryConstructor, propertyDeclaration, stringLiteral */