Retention / target for some standard annotations
This commit is contained in:
@@ -34,4 +34,5 @@ package kotlin.jvm
|
||||
* MyList<Int>().add(null) // Error
|
||||
* MyList<Int?>().add(null) // Ok
|
||||
*/
|
||||
public annotation class PurelyImplements(public val value: String)
|
||||
target(AnnotationTarget.CLASSIFIER)
|
||||
public annotation(retention = AnnotationRetention.RUNTIME) class PurelyImplements(public val value: String)
|
||||
|
||||
Reference in New Issue
Block a user