[stdlib] Explicit visibility and return types: Wasm

This commit is contained in:
Ilya Gorbunov
2023-11-12 02:09:15 +01:00
committed by Space Team
parent 381a8fd55f
commit cfa8a1dc0f
15 changed files with 54 additions and 54 deletions
@@ -15,12 +15,12 @@ import kotlin.wasm.internal.jsToKotlinStringAdapter
* @param message the detail message string.
* @param cause the cause of this throwable.
*/
public open class Throwable(open val message: String?, open val cause: kotlin.Throwable?) {
constructor(message: String?) : this(message, null)
public open class Throwable(public open val message: String?, public open val cause: kotlin.Throwable?) {
public constructor(message: String?) : this(message, null)
constructor(cause: Throwable?) : this(cause?.toString(), cause)
public constructor(cause: Throwable?) : this(cause?.toString(), cause)
constructor() : this(null, null)
public constructor() : this(null, null)
internal val jsStack: ExternalInterfaceType = captureStackTrace()