[LL/FIR] add more resolve tests for declarations with annotations

^KT-63042
This commit is contained in:
Dmitrii Gridin
2023-11-28 17:30:13 +01:00
committed by Space Team
parent 5bd1a97632
commit 69559689fd
156 changed files with 25942 additions and 0 deletions
@@ -0,0 +1,15 @@
// FIR_IDENTICAL
package util
@Target(AnnotationTarget.TYPE)
annotation class Anno(val str: String)
const val prop = "str"
fun foo() {
class Local {
val foo get() = bar
var bar: @Anno("bar $prop") List<@Anno("nested bar $prop") Collection<@Anno("nested nested bar $prop") Int>>? = null
var foo2 = bar
}
}