Introduce error "ANNOTATION_USED_AS_ANNOTATION_ARGUMENT" along with QF

The relevant inspection has been removed
So #KT-18855 Fixed
This commit is contained in:
Andrius Semionovas
2017-07-21 07:46:18 +03:00
committed by Mikhail Glukhikh
parent b81ca31aae
commit 68659f5a32
25 changed files with 163 additions and 146 deletions
@@ -0,0 +1,9 @@
// "Remove @ from annotation argument" "true"
// ERROR: An annotation parameter must be a compile-time constant
annotation class Y()
annotation class X(val value: Y)
@X(@Y()<caret>)
fun foo() {
}