Add @SinceKotlin and KDoc for ContextFunctionTypeParams

Initially, it was added accidentally as part of e3f987459c
and missed all out processes.

Adding @SinceKotlin("1.7") after the annotation has already been
published before is not really a problem, because it only may be used
with an experimental `-Xcontext-receivers` flag, thus it doesn't have
to be a part of our regular backward compatibility routine.

^KT-55226 Fixed
This commit is contained in:
Denis.Zharkov
2023-01-10 16:51:47 +01:00
committed by Space Team
parent 4a2a77d9b9
commit b009ee3744
8 changed files with 22 additions and 8 deletions
+2 -1
View File
@@ -1336,6 +1336,7 @@ public open class ConcurrentModificationException : kotlin.RuntimeException {
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE})
@kotlin.annotation.MustBeDocumented
@kotlin.SinceKotlin(version = "1.7")
public final annotation class ContextFunctionTypeParams : kotlin.Annotation {
public constructor ContextFunctionTypeParams(count: kotlin.Int)
@@ -3767,4 +3768,4 @@ public open class UnsupportedOperationException : kotlin.RuntimeException {
public constructor UnsupportedOperationException(message: kotlin.String?, cause: kotlin.Throwable?)
public constructor UnsupportedOperationException(cause: kotlin.Throwable?)
}
}
+2 -1
View File
@@ -1229,6 +1229,7 @@ public open class ConcurrentModificationException : kotlin.RuntimeException {
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE})
@kotlin.annotation.MustBeDocumented
@kotlin.SinceKotlin(version = "1.7")
public final annotation class ContextFunctionTypeParams : kotlin.Annotation {
public constructor ContextFunctionTypeParams(count: kotlin.Int)
@@ -3358,4 +3359,4 @@ public open class UnsupportedOperationException : kotlin.RuntimeException {
public constructor UnsupportedOperationException(message: kotlin.String?, cause: kotlin.Throwable?)
public constructor UnsupportedOperationException(cause: kotlin.Throwable?)
}
}