[FIR2IR] Support type aliases properly
This commit is contained in:
+1
@@ -1,4 +1,5 @@
|
||||
FILE fqName:<root> fileName:/typeAliasesWithAnnotations.kt
|
||||
TYPEALIAS name:TestTypeAlias visibility:public expandedType:kotlin.String
|
||||
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)
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
FILE fqName:<root> fileName:/fileWithTypeAliasesOnly.kt
|
||||
@@ -1 +1,2 @@
|
||||
// FIR_IDENTICAL
|
||||
typealias Bar<T> = (T) -> String
|
||||
@@ -1,4 +1,5 @@
|
||||
FILE fqName:<root> fileName:/typeAlias.kt
|
||||
TYPEALIAS name:Test1 visibility:public expandedType:kotlin.String
|
||||
FUN name:foo visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit origin=null
|
||||
|
||||
Reference in New Issue
Block a user