FIR2IR: convert annotations on type aliases

This commit is contained in:
Jinseong Jeon
2020-07-17 22:57:13 -07:00
committed by Mikhail Glukhikh
parent 4e14f9500f
commit 628b8b56b7
4 changed files with 20 additions and 10 deletions
@@ -1,5 +1,7 @@
FILE fqName:<root> fileName:/typeAliasesWithAnnotations.kt
TYPEALIAS name:TestTypeAlias visibility:public expandedType:kotlin.String
annotations:
TestAnn(x = 'TestTypeAlias')
CLASS ANNOTATION_CLASS name:TestAnn modality:FINAL visibility:public superTypes:[kotlin.Annotation]
annotations:
Target(allowedTargets = [GET_ENUM 'ENUM_ENTRY IR_EXTERNAL_DECLARATION_STUB name:TYPEALIAS' type=kotlin.annotation.AnnotationTarget])