From 3eb5b3e08c5cf82ddad2aa9ba6f172e7d0166705 Mon Sep 17 00:00:00 2001 From: Anton Bannykh Date: Fri, 24 Feb 2017 13:24:44 +0300 Subject: [PATCH] JS: changed BoxedChar visibility to internal --- js/js.libraries/src/core/builtins.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }