[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:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user