[FIR2IR] Add conversion of function annotations

This commit is contained in:
Mikhail Glukhikh
2020-05-07 17:56:55 +03:00
parent ad00d28631
commit f3e2dbf360
62 changed files with 57 additions and 50 deletions
@@ -37,6 +37,10 @@ FILE fqName:<root> fileName:/constExpressionsInAnnotationArguments.kt
public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit
annotations:
A(x = CALL 'public final fun <get-ONE> (): kotlin.Int declared in <root>' type=kotlin.Int origin=GET_PROPERTY)
BLOCK_BODY
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit
annotations:
A(x = CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=null)
BLOCK_BODY