Changed retention to 'binary' for annotations
used in resolve
This commit is contained in:
@@ -20,25 +20,26 @@ package kotlin.internal
|
||||
* Specifies that the corresponding type should be ignored during type inference.
|
||||
*/
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
internal annotation class NoInfer
|
||||
|
||||
/**
|
||||
* Specifies that the constraint built for the type during type inference should be an equality one.
|
||||
*/
|
||||
@Target(AnnotationTarget.TYPE)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
internal annotation class Exact
|
||||
|
||||
/**
|
||||
* Specifies that a corresponding member has the lowest priority in overload resolution.
|
||||
*/
|
||||
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
internal annotation class LowPriorityInOverloadResolution
|
||||
|
||||
/**
|
||||
* The value of this type parameter should be mentioned in input types (argument types, receiver type or expected type).
|
||||
*/
|
||||
@Target(AnnotationTarget.TYPE_PARAMETER)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
internal annotation class OnlyInputTypes
|
||||
Reference in New Issue
Block a user