Resolve annotations on expressions and multi-declarations
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
fun foo() = [ann] 1
|
||||
|
||||
annotation class ann
|
||||
@@ -0,0 +1,7 @@
|
||||
fun test(): Any? {
|
||||
[ann] val (a, b) = P(1, 1)
|
||||
return a + b
|
||||
}
|
||||
|
||||
annotation class ann
|
||||
data class P(val a: Int, val b: Int)
|
||||
Reference in New Issue
Block a user