08bc67b925
Traits themselves can't have these methods, since it'd be a weird public method in an interface #KT-4072 Fixed
8 lines
175 B
Kotlin
8 lines
175 B
Kotlin
import java.lang.annotation.*
|
|
|
|
Retention(RetentionPolicy.RUNTIME) annotation class SomeAnnotation(val value: String)
|
|
|
|
trait T {
|
|
[SomeAnnotation("OK")] val property: Int
|
|
}
|