Internal visiblity for hacks.kt declarations.
Explicit public visibility.
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
package kotlin
|
||||
|
||||
class Enum<T : Enum<T>> : Comparable<Enum<T>> {
|
||||
public class Enum<T : Enum<T>> : Comparable<Enum<T>> {
|
||||
@JsName("name$") private var _name: String = ""
|
||||
@JsName("ordinal$") private var _ordinal: Int = 0
|
||||
|
||||
|
||||
@@ -20,8 +20,8 @@ import kotlin.annotation.AnnotationTarget.*
|
||||
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
@Target(CLASS, FUNCTION, PROPERTY, CONSTRUCTOR, PROPERTY_GETTER, PROPERTY_SETTER)
|
||||
@native annotation class JsName(val name: String)
|
||||
@native internal annotation class JsName(val name: String)
|
||||
|
||||
@native annotation class native
|
||||
@native internal annotation class native
|
||||
|
||||
@native fun js(code: String): dynamic
|
||||
@native internal fun js(code: String): dynamic
|
||||
@@ -16,28 +16,28 @@
|
||||
|
||||
package kotlin
|
||||
|
||||
open class Error(message: String? = null) : Throwable(message, null)
|
||||
public open class Error(message: String? = null) : Throwable(message, null)
|
||||
|
||||
open class Exception(message: String? = null) : Throwable(message, null)
|
||||
public open class Exception(message: String? = null) : Throwable(message, null)
|
||||
|
||||
open class RuntimeException(message: String? = null) : Exception(message)
|
||||
public open class RuntimeException(message: String? = null) : Exception(message)
|
||||
|
||||
open class IllegalArgumentException(message: String? = null) : RuntimeException(message)
|
||||
public open class IllegalArgumentException(message: String? = null) : RuntimeException(message)
|
||||
|
||||
open class IllegalStateException(message: String? = null) : RuntimeException(message)
|
||||
public open class IllegalStateException(message: String? = null) : RuntimeException(message)
|
||||
|
||||
open class IndexOutOfBoundsException(message: String? = null) : RuntimeException(message)
|
||||
public open class IndexOutOfBoundsException(message: String? = null) : RuntimeException(message)
|
||||
|
||||
open class ConcurrentModificationException(message: String? = null) : RuntimeException(message)
|
||||
public open class ConcurrentModificationException(message: String? = null) : RuntimeException(message)
|
||||
|
||||
open class UnsupportedOperationException(message: String? = null) : RuntimeException(message)
|
||||
public open class UnsupportedOperationException(message: String? = null) : RuntimeException(message)
|
||||
|
||||
open class NumberFormatException(message: String? = null) : RuntimeException(message)
|
||||
public open class NumberFormatException(message: String? = null) : RuntimeException(message)
|
||||
|
||||
open class NullPointerException(message: String? = null) : RuntimeException(message)
|
||||
public open class NullPointerException(message: String? = null) : RuntimeException(message)
|
||||
|
||||
open class ClassCastException(message: String? = null) : RuntimeException(message)
|
||||
public open class ClassCastException(message: String? = null) : RuntimeException(message)
|
||||
|
||||
open class AssertionError(message: String? = null) : Error(message)
|
||||
public open class AssertionError(message: String? = null) : Error(message)
|
||||
|
||||
open class NoSuchElementException(message: String? = null) : Exception()
|
||||
public open class NoSuchElementException(message: String? = null) : Exception()
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
package kotlin.text
|
||||
|
||||
|
||||
interface Appendable {
|
||||
public interface Appendable {
|
||||
fun append(csq: CharSequence?): Appendable
|
||||
fun append(csq: CharSequence?, start: Int, end: Int): Appendable
|
||||
fun append(c: Char): Appendable
|
||||
}
|
||||
|
||||
class StringBuilder(content: String = "") : Appendable, CharSequence {
|
||||
public class StringBuilder(content: String = "") : Appendable, CharSequence {
|
||||
constructor(capacity: Int) : this() {}
|
||||
|
||||
constructor(content: CharSequence) : this(content.toString()) {}
|
||||
|
||||
Reference in New Issue
Block a user