[LL/FIR] add more resolve tests for declarations with annotations
^KT-63042
This commit is contained in:
committed by
Space Team
parent
5bd1a97632
commit
69559689fd
Vendored
+14
@@ -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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user