[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 @@
FILE: anonymousObjectWithAnnotation.kt
public? final? val prop: <implicit> = @Anno(String(object annotation)) object : @SuperType(String(super type)) List<@SuperType(String(nested super type)) Collection<@SuperType(String(nested nested super type)) Int>> {
private [ContainingClassKey=<anonymous>] constructor(): R|<anonymous>| {
super<@SuperType(String(super type)) List<@SuperType(String(nested super type)) Collection<@SuperType(String(nested nested super type)) Int>>>()
}
@Anno(String(init)) init {
@Expression(String(expr)) foo#().let#(<L> = let@fun <implicit>.<anonymous>(it: @Anno(String(lambda param type)) Int): <implicit> <inline=Unknown> {
^@let Unit
}
)
}
}
public? get(): <implicit>