Annotation rename: target --> @Target
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
annotation class base
|
||||
|
||||
target(AnnotationTarget.EXPRESSION) annotation class special
|
||||
@Target(AnnotationTarget.EXPRESSION) annotation class special
|
||||
|
||||
fun transform(i: Int, tr: (Int) -> Int): Int = <!WRONG_ANNOTATION_TARGET!>@base<!> @special tr(@special i)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user