[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,14 @@
// FIR_IDENTICAL
@Target(AnnotationTarget.TYPE)
annotation class Anno(val str: String)
const val prop = "str"
fun bar(): @Anno("bar $prop") List<@Anno("nested bar $prop") Collection<@Anno("nested nested bar $prop") Int>>? = null
fun foo() {
class Local {
fun doo() = foo()
fun foo() = bar()
fun baz() = foo()
}
}