[Generator] Do not omit public visibility of methods in wasm

This commit is contained in:
Ilya Gorbunov
2023-08-29 04:49:36 +02:00
committed by Space Team
parent 918b935e22
commit 8ae21c0e1b
5 changed files with 7 additions and 19 deletions
@@ -118,7 +118,7 @@ public class Char private constructor(private val value: Char) : Comparable<Char
this.code.toDouble()
@kotlin.internal.IntrinsicConstEvaluation
override fun toString(): String {
public override fun toString(): String {
val array = WasmCharArray(1)
array.set(0, this)
return array.createString()
@@ -131,7 +131,7 @@ public class Char private constructor(private val value: Char) : Comparable<Char
return false
}
override fun hashCode(): Int =
public override fun hashCode(): Int =
this.code.hashCode()
public companion object {