Add required opt-ins in wasm stdlib sources

This commit is contained in:
Ilya Gorbunov
2023-08-22 01:40:49 +02:00
committed by Space Team
parent 735a97245d
commit 53681a33d9
2 changed files with 2 additions and 1 deletions
@@ -118,5 +118,6 @@ internal fun stringGetPoolSize(): Int =
// This initializer is a special case in FieldInitializersLowering
@Suppress("DEPRECATION")
@OptIn(ExperimentalStdlibApi::class)
@EagerInitialization
internal val stringPool: Array<String?> = Array(stringGetPoolSize())
@@ -2,7 +2,7 @@
* Licensed to the .NET Foundation under one or more agreements.
* The .NET Foundation licenses this file to you under the MIT license.
*/
@file:OptIn(ExperimentalUnsignedTypes::class)
package kotlin.text
import kotlin.math.abs