blob: d677cb71e07aab9ad522e8c6e7c259a57f0b478e [file]
// RUN_PIPELINE_TILL: FRONTEND
// The compiler matches `annotated` predicates on local classes through their resolved annotations, which see through type aliases
typealias MyTypeAlias = org.jetbrains.kotlin.plugin.sandbox.AllOpen2
@MyTypeAlias
class TopLevel
class TopLevelSub : <!FINAL_SUPERTYPE!>TopLevel<!>()
fun test() {
@MyTypeAlias
class Local
class LocalSub : Local()
}
/* GENERATED_FIR_TAGS: classDeclaration, functionDeclaration, localClass, typeAliasDeclaration */