InlineExposed usages are changed to PublishedApi
This commit is contained in:
@@ -57,11 +57,4 @@ internal annotation class OnlyInputTypes
|
||||
*/
|
||||
@Target(AnnotationTarget.FUNCTION)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
internal annotation class InlineOnly
|
||||
|
||||
/**
|
||||
* Specifies that this part of internal API is effectively public exposed by using in public inline function
|
||||
*/
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY)
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
internal annotation class InlineExposed
|
||||
internal annotation class InlineOnly
|
||||
@@ -23,7 +23,7 @@ internal open class PlatformImplementations {
|
||||
}
|
||||
|
||||
@SinceKotlin("1.1")
|
||||
@kotlin.internal.InlineExposed
|
||||
@PublishedApi
|
||||
internal fun platformCloseSuppressed(instance: Closeable, cause: Throwable) = IMPLEMENTATIONS.closeSuppressed(instance, cause)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user