From 452637a94626267d054a2d43030070f93a4a1e16 Mon Sep 17 00:00:00 2001 From: Svetlana Isakova Date: Mon, 19 Oct 2015 17:38:41 +0300 Subject: [PATCH] Changed retention to 'binary' for annotations used in resolve --- libraries/stdlib/src/kotlin/internal/Annotations.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libraries/stdlib/src/kotlin/internal/Annotations.kt b/libraries/stdlib/src/kotlin/internal/Annotations.kt index ddc4b0adaa1..1ff19c7ce47 100644 --- a/libraries/stdlib/src/kotlin/internal/Annotations.kt +++ b/libraries/stdlib/src/kotlin/internal/Annotations.kt @@ -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 \ No newline at end of file