[FIR] builder: more tests for annotations

^KT-63042
This commit is contained in:
Dmitrii Gridin
2023-11-22 17:46:01 +01:00
committed by Space Team
parent 11749d7c89
commit 1d5ab8c24f
71 changed files with 1930 additions and 13 deletions
@@ -0,0 +1,16 @@
@EnumAnnotation("enum")
enum class MyEnumClass {
@Anno("implicit") @property:Anno("explicit") ENUM_ENTRY {
@Anno("init annotations") init {
@Expression("expression annotation") foo()
}
@FunAnno("fun")
fun foo(): @Anno("return type") A<@Anno("nested return type") B> {
}
@ErrorPlace("destructuring declaration")
val (@A("a") a, @B("b") b) = 1 to 2
}
}