From 3d2a64105748c2d3decb2bf45b457a9609c1f522 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Mon, 21 May 2018 17:29:06 +0300 Subject: [PATCH] Minor: explicit public visibility --- libraries/stdlib/src/kotlin/annotations/Experimental.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/stdlib/src/kotlin/annotations/Experimental.kt b/libraries/stdlib/src/kotlin/annotations/Experimental.kt index 2cc78f0491e..679a33f28c0 100644 --- a/libraries/stdlib/src/kotlin/annotations/Experimental.kt +++ b/libraries/stdlib/src/kotlin/annotations/Experimental.kt @@ -24,12 +24,12 @@ import kotlin.reflect.KClass @SinceKotlin("1.2") @RequireKotlin("1.2.50", versionKind = RequireKotlinVersionKind.COMPILER_VERSION) @Suppress("ANNOTATION_CLASS_MEMBER") -annotation class Experimental(val level: Level = Level.ERROR) { +public annotation class Experimental(val level: Level = Level.ERROR) { /** * Severity of the diagnostic that should be reported on usages of experimental API which did not explicitly accept the experimental aspect * of that API either by using [UseExperimental] or by being annotated with the corresponding marker annotation. */ - enum class Level { + public enum class Level { /** Specifies that a warning should be reported on incorrect usages of this experimental API. */ WARNING, /** Specifies that an error should be reported on incorrect usages of this experimental API. */ @@ -49,7 +49,7 @@ annotation class Experimental(val level: Level = Level.ERROR) { @Retention(SOURCE) @SinceKotlin("1.2") @RequireKotlin("1.2.50", versionKind = RequireKotlinVersionKind.COMPILER_VERSION) -annotation class UseExperimental( +public annotation class UseExperimental( vararg val markerClass: KClass )