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
+1 -1
View File
@@ -210,7 +210,7 @@ public interface Comparable</*0*/ in T> {
public abstract operator fun compareTo(/*0*/ other: T): kotlin.Int
}
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) @kotlin.annotation.MustBeDocumented public final annotation class ContextFunctionTypeParams : kotlin.Annotation {
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.TYPE}) @kotlin.annotation.MustBeDocumented @kotlin.SinceKotlin(version = "1.7") public final annotation class ContextFunctionTypeParams : kotlin.Annotation {
/*primary*/ public constructor ContextFunctionTypeParams(/*0*/ count: kotlin.Int)
public final val count: kotlin.Int
public final fun `<get-count>`(): kotlin.Int