[FIR] Forbid annotations on anonymous initializers and destructuring declarations
#KT-59896 Merge-request: KT-MR-13197 Merged-by: Evgeniy Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com>
This commit is contained in:
committed by
Space Team
parent
e901629cf0
commit
5258e2044d
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
fun test(): Any? {
|
||||
<!WRONG_ANNOTATION_TARGET!>@ann<!> val (a, b) = P(1, 1)
|
||||
return a + b
|
||||
|
||||
Reference in New Issue
Block a user