JS: changed BoxedChar visibility to internal

This commit is contained in:
Anton Bannykh
2017-02-24 13:24:44 +03:00
parent 5c9f0df256
commit 3eb5b3e08c
+2 -1
View File
@@ -72,7 +72,8 @@ internal fun newThrowable(message: String?, cause: Throwable?): Throwable {
return throwable
}
public class BoxedChar(val c: Char) : Comparable<Char> {
@JsName("BoxedChar")
internal class BoxedChar(val c: Char) : Comparable<Char> {
override fun equals(other: Any?): Boolean {
return other is BoxedChar && c == other.c
}