Do not generate non-function/getter/setter (expression) annotations on anonymous functions

This commit is contained in:
Mikhail Glukhikh
2015-09-25 12:47:24 +03:00
parent 74ba21b40c
commit 103bb320c8
6 changed files with 98 additions and 2 deletions
@@ -1,7 +1,7 @@
import java.lang.reflect.Method
import kotlin.test.assertEquals
@Target(AnnotationTarget.EXPRESSION)
@Target(AnnotationTarget.FUNCTION)
@Retention(AnnotationRetention.RUNTIME)
annotation class Ann(val x: String)