Remove entire stdlib opt-in for unsigned types to control precisely where they are exposed
This commit is contained in:
@@ -55,7 +55,6 @@ compileKotlinCommon {
|
|||||||
"-module-name", project.name,
|
"-module-name", project.name,
|
||||||
"-Xuse-experimental=kotlin.Experimental",
|
"-Xuse-experimental=kotlin.Experimental",
|
||||||
"-Xuse-experimental=kotlin.ExperimentalMultiplatform",
|
"-Xuse-experimental=kotlin.ExperimentalMultiplatform",
|
||||||
"-Xuse-experimental=kotlin.ExperimentalUnsignedTypes",
|
|
||||||
"-Xuse-experimental=kotlin.contracts.ExperimentalContracts",
|
"-Xuse-experimental=kotlin.contracts.ExperimentalContracts",
|
||||||
"-XXLanguage:+InlineClasses",
|
"-XXLanguage:+InlineClasses",
|
||||||
"-XXLanguage:+ReleaseCoroutines",
|
"-XXLanguage:+ReleaseCoroutines",
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ public inline fun <C, R> C.ifEmpty(defaultValue: () -> R): R where C : Array<*>,
|
|||||||
if (isEmpty()) defaultValue() else this
|
if (isEmpty()) defaultValue() else this
|
||||||
|
|
||||||
|
|
||||||
|
@UseExperimental(ExperimentalUnsignedTypes::class)
|
||||||
@SinceKotlin("1.3")
|
@SinceKotlin("1.3")
|
||||||
@PublishedApi
|
@PublishedApi
|
||||||
@kotlin.jvm.JvmName("contentDeepEquals")
|
@kotlin.jvm.JvmName("contentDeepEquals")
|
||||||
|
|||||||
Reference in New Issue
Block a user