Add new internal annotation IntrinsicConstEvaluation
This commit is contained in:
@@ -33,3 +33,12 @@ internal annotation class PureReifiable
|
||||
@Target(AnnotationTarget.FUNCTION)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
internal annotation class PlatformDependent
|
||||
|
||||
/**
|
||||
* When applied to a function or property, enables a compiler optimization that evaluates that function or property
|
||||
* at compile-time and replaces calls to it with the computed result.
|
||||
*/
|
||||
@Target(AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
@SinceKotlin("1.7")
|
||||
public annotation class IntrinsicConstEvaluation
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY})
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
public final annotation class IntrinsicConstEvaluation : kotlin.Annotation {
|
||||
public constructor IntrinsicConstEvaluation()
|
||||
}
|
||||
/*∆*/
|
||||
/*∆*/ @kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY})
|
||||
/*∆*/ @kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
/*∆*/ @kotlin.SinceKotlin(version = "1.7")
|
||||
/*∆*/ public final annotation class IntrinsicConstEvaluation : kotlin.Annotation {
|
||||
/*∆*/ public constructor IntrinsicConstEvaluation()
|
||||
/*∆*/ }
|
||||
@@ -0,0 +1,6 @@
|
||||
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY})
|
||||
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
|
||||
@kotlin.SinceKotlin(version = "1.7")
|
||||
public final annotation class IntrinsicConstEvaluation : kotlin.Annotation {
|
||||
public constructor IntrinsicConstEvaluation()
|
||||
}
|
||||
+3
@@ -3150,6 +3150,9 @@ public abstract interface class kotlin/coroutines/jvm/internal/CoroutineStackFra
|
||||
public abstract interface annotation class kotlin/experimental/ExperimentalTypeInference : java/lang/annotation/Annotation {
|
||||
}
|
||||
|
||||
public abstract interface annotation class kotlin/internal/IntrinsicConstEvaluation : java/lang/annotation/Annotation {
|
||||
}
|
||||
|
||||
public final class kotlin/internal/PlatformImplementationsKt {
|
||||
public static final fun apiVersionIsAtLeast (III)Z
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user