blob: c8c7642ae286ee312b187a88845731e6673907f3 [file]
// RUN_PIPELINE_TILL: BACKEND
// LANGUAGE: +ContextReceivers
// ISSUE: KT-72863
@Target(AnnotationTarget.TYPE)
annotation class Anno(val position: String)
<!CONTEXT_RECEIVERS_DEPRECATED!>context<!>(List<@Anno("context receiver type $prop") Int>)
fun foo() {
}
const val prop = "str"
/* GENERATED_FIR_TAGS: annotationDeclaration, const, functionDeclaration, functionDeclarationWithContext,
primaryConstructor, propertyDeclaration, stringLiteral */