InlineExposed usages are changed to PublishedApi

This commit is contained in:
Mikhael Bogdanov
2016-11-30 14:26:41 +01:00
parent 0f813d5cfe
commit 95a47e56f7
22 changed files with 45 additions and 91 deletions
@@ -1,24 +1,23 @@
@file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
package cases.inline
@kotlin.internal.InlineExposed
@PublishedApi
internal fun exposedForInline() {}
@kotlin.internal.InlineExposed
@PublishedApi
internal class InternalClassExposed
@kotlin.internal.InlineExposed
@PublishedApi
internal constructor() {
@kotlin.internal.InlineExposed
@PublishedApi
internal fun funExposed() {}
// TODO: Cover unsupported cases: requires correctly reflecting annotations from properties
/*
@kotlin.internal.InlineExposed
@PublishedApi
internal var propertyExposed: String? = null
@JvmField
@kotlin.internal.InlineExposed
@PublishedApi
internal var fieldExposed: String? = null
*/