f39c3041d2
Annotation with a parameter that is not stored doesn't make any sense
11 lines
193 B
Kotlin
11 lines
193 B
Kotlin
//ALLOW_AST_ACCESS
|
|
package test
|
|
|
|
import java.lang.annotation.ElementType
|
|
|
|
annotation class Anno(val t: ElementType)
|
|
|
|
Anno(ElementType.METHOD) fun foo() {}
|
|
|
|
Anno(ElementType.FIELD) val bar = 42
|