blob: 4ac38a67e16ca91e026ef133eeebd504841fa226 [file]
// RUN_PIPELINE_TILL: FRONTEND
@Target(AnnotationTarget.TYPE, AnnotationTarget.TYPEALIAS, AnnotationTarget.TYPE_PARAMETER)
annotation class Anno(val position: String)
interface OriginalInterface<T> {
<!UNSUPPORTED_FEATURE!>@Anno("alias $prop")
typealias NestedTypeAlias <@Anno("type param $prop") A : <!BOUND_ON_TYPE_ALIAS_PARAMETER_NOT_ALLOWED!>@Anno("bound $prop") Number<!>> = @Anno("type $prop") OriginalInterface<A><!>
companion object {
private const val prop = 0
}
}
/* GENERATED_FIR_TAGS: annotationDeclaration, companionObject, const, integerLiteral, interfaceDeclaration, nullableType,
objectDeclaration, primaryConstructor, propertyDeclaration, stringLiteral, typeAliasDeclaration,
typeAliasDeclarationWithTypeParameter, typeConstraint, typeParameter */