diff --git a/js/js.libraries/src/core/builtins.kt b/js/js.libraries/src/core/builtins.kt index b0317691544..b907133596d 100644 --- a/js/js.libraries/src/core/builtins.kt +++ b/js/js.libraries/src/core/builtins.kt @@ -72,7 +72,8 @@ internal fun newThrowable(message: String?, cause: Throwable?): Throwable { return throwable } -public class BoxedChar(val c: Char) : Comparable { +@JsName("BoxedChar") +internal class BoxedChar(val c: Char) : Comparable { override fun equals(other: Any?): Boolean { return other is BoxedChar && c == other.c }