Add required opt-ins in wasm stdlib sources
This commit is contained in:
committed by
Space Team
parent
735a97245d
commit
53681a33d9
@@ -118,5 +118,6 @@ internal fun stringGetPoolSize(): Int =
|
|||||||
|
|
||||||
// This initializer is a special case in FieldInitializersLowering
|
// This initializer is a special case in FieldInitializersLowering
|
||||||
@Suppress("DEPRECATION")
|
@Suppress("DEPRECATION")
|
||||||
|
@OptIn(ExperimentalStdlibApi::class)
|
||||||
@EagerInitialization
|
@EagerInitialization
|
||||||
internal val stringPool: Array<String?> = Array(stringGetPoolSize())
|
internal val stringPool: Array<String?> = Array(stringGetPoolSize())
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
* Licensed to the .NET Foundation under one or more agreements.
|
* Licensed to the .NET Foundation under one or more agreements.
|
||||||
* The .NET Foundation licenses this file to you under the MIT license.
|
* The .NET Foundation licenses this file to you under the MIT license.
|
||||||
*/
|
*/
|
||||||
|
@file:OptIn(ExperimentalUnsignedTypes::class)
|
||||||
package kotlin.text
|
package kotlin.text
|
||||||
|
|
||||||
import kotlin.math.abs
|
import kotlin.math.abs
|
||||||
|
|||||||
Reference in New Issue
Block a user