[FIR] builder: more tests for annotations
^KT-63042
This commit is contained in:
committed by
Space Team
parent
11749d7c89
commit
1d5ab8c24f
+16
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user