[Wasm] stdlib API: Mark primitives constructor properties as private

These are implementation detail and were not meant to be public
This commit is contained in:
Svyatoslav Kuzmich
2023-01-21 10:34:14 +01:00
parent 354b231ea2
commit e1f72d60dc
3 changed files with 7 additions and 8 deletions
@@ -15,7 +15,7 @@ import kotlin.wasm.internal.*
*/
@WasmAutoboxed
@Suppress("NOTHING_TO_INLINE")
public class Char private constructor(public val value: Char) : Comparable<Char> {
public class Char private constructor(private val value: Char) : Comparable<Char> {
/**
* Compares this value with the specified value for order.
*