Annotation rename: target --> @Target
This commit is contained in:
@@ -34,7 +34,7 @@ package kotlin.jvm
|
||||
* MyList<Int>().add(null) // Error
|
||||
* MyList<Int?>().add(null) // Ok
|
||||
*/
|
||||
target(AnnotationTarget.CLASSIFIER)
|
||||
@Target(AnnotationTarget.CLASSIFIER)
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
@MustBeDocumented
|
||||
public annotation class PurelyImplements(public val value: String)
|
||||
|
||||
@@ -16,6 +16,6 @@
|
||||
|
||||
package kotlin.jvm.internal
|
||||
|
||||
target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
|
||||
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
|
||||
@Retention(AnnotationRetention.RUNTIME)
|
||||
public annotation class Intrinsic(val value: String)
|
||||
|
||||
Reference in New Issue
Block a user