diff --git a/libraries/stdlib/api/js-v1/jquery.kt b/libraries/stdlib/api/js-v1/jquery.kt index 9fc43718025..1f0d8135719 100644 --- a/libraries/stdlib/api/js-v1/jquery.kt +++ b/libraries/stdlib/api/js-v1/jquery.kt @@ -1,28 +1,28 @@ -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") @kotlin.js.JsName(name = "$") public external fun jq(): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") @kotlin.js.JsName(name = "$") public external fun jq(callback: () -> kotlin.Unit): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") @kotlin.js.JsName(name = "$") public external fun jq(obj: jquery.JQuery): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") @kotlin.js.JsName(name = "$") public external fun jq(selector: kotlin.String): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") @kotlin.js.JsName(name = "$") public external fun jq(selector: kotlin.String, context: org.w3c.dom.Element): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") @kotlin.js.JsName(name = "$") public external fun jq(el: org.w3c.dom.Element): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public final external class JQuery { public constructor JQuery() @@ -83,14 +83,14 @@ public final external class JQuery { public final fun width(): kotlin.Number } -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public final external class MouseClickEvent : jquery.MouseEvent { public constructor MouseClickEvent() public final val which: kotlin.Int { get; } } -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public open external class MouseEvent { public constructor MouseEvent() diff --git a/libraries/stdlib/api/js-v1/jquery.ui.kt b/libraries/stdlib/api/js-v1/jquery.ui.kt index befead3e749..a93dd9c0d69 100644 --- a/libraries/stdlib/api/js-v1/jquery.ui.kt +++ b/libraries/stdlib/api/js-v1/jquery.ui.kt @@ -1,29 +1,29 @@ -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.accordion(): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.button(): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.buttonset(): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.dialog(): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.dialog(mode: kotlin.String): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.dialog(mode: kotlin.String, param: kotlin.String): kotlin.Any? -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.dialog(mode: kotlin.String, param: kotlin.String, value: kotlin.Any?): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.dialog(params: kotlin.js.Json): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.draggable(params: kotlin.js.Json): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.selectable(): jquery.JQuery \ No newline at end of file diff --git a/libraries/stdlib/api/js-v1/kotlin.collections.kt b/libraries/stdlib/api/js-v1/kotlin.collections.kt index 366e809d8d5..02ca485acf8 100644 --- a/libraries/stdlib/api/js-v1/kotlin.collections.kt +++ b/libraries/stdlib/api/js-v1/kotlin.collections.kt @@ -3256,12 +3256,6 @@ public fun kotlin.collections.Map.getValue(key: K): V @kotlin.internal.InlineOnly public inline operator fun kotlin.collections.Map.getValue(thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): V1 -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use getValue() with two type parameters instead") -@kotlin.jvm.JvmName(name = "getVarContravariant") -@kotlin.internal.LowPriorityInOverloadResolution -@kotlin.internal.InlineOnly -public inline fun kotlin.collections.MutableMap.getValue(thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): V - @kotlin.jvm.JvmName(name = "getVar") @kotlin.internal.InlineOnly public inline operator fun kotlin.collections.MutableMap.getValue(thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): V1 diff --git a/libraries/stdlib/api/js-v1/kotlin.js.kt b/libraries/stdlib/api/js-v1/kotlin.js.kt index 6fbcdc68fcd..34e9ba76a5e 100644 --- a/libraries/stdlib/api/js-v1/kotlin.js.kt +++ b/libraries/stdlib/api/js-v1/kotlin.js.kt @@ -9,9 +9,6 @@ public external val undefined: kotlin.Nothing? { get; } public val kotlin.reflect.KClass.js: kotlin.js.JsClass { get; } -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use class literal and extension property `js` instead.", replaceWith = kotlin.ReplaceWith(expression = "this::class.js", imports = {})) -public val T.jsClass: kotlin.js.JsClass { get; } - public val kotlin.js.JsClass.kotlin: kotlin.reflect.KClass { get; } public inline fun dateLocaleOptions(init: kotlin.js.Date.LocaleOptions.() -> kotlin.Unit): kotlin.js.Date.LocaleOptions @@ -20,9 +17,6 @@ public external fun eval(expr: kotlin.String): dynamic public external fun js(code: kotlin.String): dynamic -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use class literal and extension property `js` instead.", replaceWith = kotlin.ReplaceWith(expression = "T::class.js", imports = {})) -public external fun jsClass(): kotlin.js.JsClass - /*∆*/ @kotlin.internal.InlineOnly /*∆*/ public inline fun jsTypeOf(a: kotlin.Any?): kotlin.String @@ -282,7 +276,7 @@ public external interface Json { public abstract operator fun set(propertyName: kotlin.String, value: kotlin.Any?): kotlin.Unit } -@kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "Use top-level functions from kotlin.math package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use top-level functions from kotlin.math package instead.") public external object Math { @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.PI instead.", replaceWith = kotlin.ReplaceWith(expression = "PI", imports = {"kotlin.math.PI"})) public final val PI: kotlin.Double { get; } @@ -338,7 +332,7 @@ public external object Math { @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.pow instead.", replaceWith = kotlin.ReplaceWith(expression = "base.pow(exp)", imports = {"kotlin.math.pow"})) public final fun pow(base: kotlin.Double, exp: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "Use Random.nextDouble instead", replaceWith = kotlin.ReplaceWith(expression = "kotlin.random.Random.nextDouble()", imports = {"kotlin.random.Random"})) + @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use Random.nextDouble instead", replaceWith = kotlin.ReplaceWith(expression = "kotlin.random.Random.nextDouble()", imports = {"kotlin.random.Random"})) public final fun random(): kotlin.Double @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.round instead.", replaceWith = kotlin.ReplaceWith(expression = "round(value)", imports = {"kotlin.math.round"})) @@ -404,14 +398,6 @@ public external interface RegExpMatch { public abstract val length: kotlin.Int { get; } } -@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER}) -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use `external` modifier instead") -public final annotation class native : kotlin.Annotation { - public constructor native(name: kotlin.String = ...) - - public final val name: kotlin.String { get; } -} - @kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION}) @kotlin.Deprecated(message = "Use inline extension function with body using dynamic") public final annotation class nativeGetter : kotlin.Annotation { diff --git a/libraries/stdlib/api/js-v1/kotlin.kt b/libraries/stdlib/api/js-v1/kotlin.kt index d4694457b87..cb96e6affd0 100644 --- a/libraries/stdlib/api/js-v1/kotlin.kt +++ b/libraries/stdlib/api/js-v1/kotlin.kt @@ -2941,10 +2941,4 @@ public final annotation class UseExperimental : kotlin.Annotation { public constructor UseExperimental(vararg markerClass: kotlin.reflect.KClass) public final val markerClass: kotlin.Array> { get; } -} - -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Do not use Synchronized annotation in pure Kotlin/JS code") -public typealias Synchronized = kotlin.jvm.Synchronized - -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Do not use Volatile annotation in pure Kotlin/JS code") -public typealias Volatile = kotlin.jvm.Volatile \ No newline at end of file +} \ No newline at end of file diff --git a/libraries/stdlib/api/js-v1/kotlin.random.kt b/libraries/stdlib/api/js-v1/kotlin.random.kt index 6a9b647bd8b..d5c24341773 100644 --- a/libraries/stdlib/api/js-v1/kotlin.random.kt +++ b/libraries/stdlib/api/js-v1/kotlin.random.kt @@ -88,15 +88,7 @@ public abstract class Random { public open fun nextLong(from: kotlin.Long, until: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Use Default companion object instead") - public object Companion : kotlin.random.Random { - public open override fun nextBits(bitCount: kotlin.Int): kotlin.Int - } - public companion object of Random Default : kotlin.random.Random { - @kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Use Default companion object instead") - public final val Companion: kotlin.random.Random.Companion { get; } - public open override fun nextBits(bitCount: kotlin.Int): kotlin.Int public open override fun nextBoolean(): kotlin.Boolean diff --git a/libraries/stdlib/api/js-v1/kotlin.time.kt b/libraries/stdlib/api/js-v1/kotlin.time.kt index 3fe236ddbcf..1a6cd136902 100644 --- a/libraries/stdlib/api/js-v1/kotlin.time.kt +++ b/libraries/stdlib/api/js-v1/kotlin.time.kt @@ -331,30 +331,30 @@ public final data class TimedValue { @kotlin.SinceKotlin(version = "1.3") @kotlin.time.ExperimentalTime -@kotlin.Deprecated(message = "Use AbstractDoubleTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "AbstractDoubleTimeSource", imports = {"kotlin.time.AbstractDoubleTimeSource"})) +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use AbstractDoubleTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "AbstractDoubleTimeSource", imports = {"kotlin.time.AbstractDoubleTimeSource"})) public typealias AbstractDoubleClock = kotlin.time.AbstractDoubleTimeSource @kotlin.SinceKotlin(version = "1.3") @kotlin.time.ExperimentalTime -@kotlin.Deprecated(message = "Use AbstractLongTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "AbstractLongTimeSource", imports = {"kotlin.time.AbstractLongTimeSource"})) +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use AbstractLongTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "AbstractLongTimeSource", imports = {"kotlin.time.AbstractLongTimeSource"})) public typealias AbstractLongClock = kotlin.time.AbstractLongTimeSource @kotlin.SinceKotlin(version = "1.3") @kotlin.time.ExperimentalTime -@kotlin.Deprecated(message = "Use TimeSource interface instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeSource", imports = {"kotlin.time.TimeSource"})) +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use TimeSource interface instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeSource", imports = {"kotlin.time.TimeSource"})) public typealias Clock = kotlin.time.TimeSource @kotlin.SinceKotlin(version = "1.3") @kotlin.time.ExperimentalTime -@kotlin.Deprecated(message = "Use TimeMark class instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeMark", imports = {"kotlin.time.TimeMark"})) +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use TimeMark class instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeMark", imports = {"kotlin.time.TimeMark"})) public typealias ClockMark = kotlin.time.TimeMark @kotlin.SinceKotlin(version = "1.3") @kotlin.time.ExperimentalTime -@kotlin.Deprecated(message = "Use TimeSource.Monotonic instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeSource.Monotonic", imports = {"kotlin.time.TimeSource"})) +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use TimeSource.Monotonic instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeSource.Monotonic", imports = {"kotlin.time.TimeSource"})) public typealias MonoClock = kotlin.time.TimeSource.Monotonic @kotlin.SinceKotlin(version = "1.3") @kotlin.time.ExperimentalTime -@kotlin.Deprecated(message = "Use TestTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "TestTimeSource", imports = {"kotlin.time.TestTimeSource"})) +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use TestTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "TestTimeSource", imports = {"kotlin.time.TestTimeSource"})) public typealias TestClock = kotlin.time.TestTimeSource \ No newline at end of file diff --git a/libraries/stdlib/api/js/jquery.kt b/libraries/stdlib/api/js/jquery.kt index 9fc43718025..1f0d8135719 100644 --- a/libraries/stdlib/api/js/jquery.kt +++ b/libraries/stdlib/api/js/jquery.kt @@ -1,28 +1,28 @@ -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") @kotlin.js.JsName(name = "$") public external fun jq(): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") @kotlin.js.JsName(name = "$") public external fun jq(callback: () -> kotlin.Unit): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") @kotlin.js.JsName(name = "$") public external fun jq(obj: jquery.JQuery): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") @kotlin.js.JsName(name = "$") public external fun jq(selector: kotlin.String): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") @kotlin.js.JsName(name = "$") public external fun jq(selector: kotlin.String, context: org.w3c.dom.Element): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") @kotlin.js.JsName(name = "$") public external fun jq(el: org.w3c.dom.Element): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public final external class JQuery { public constructor JQuery() @@ -83,14 +83,14 @@ public final external class JQuery { public final fun width(): kotlin.Number } -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public final external class MouseClickEvent : jquery.MouseEvent { public constructor MouseClickEvent() public final val which: kotlin.Int { get; } } -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public open external class MouseEvent { public constructor MouseEvent() diff --git a/libraries/stdlib/api/js/jquery.ui.kt b/libraries/stdlib/api/js/jquery.ui.kt index befead3e749..a93dd9c0d69 100644 --- a/libraries/stdlib/api/js/jquery.ui.kt +++ b/libraries/stdlib/api/js/jquery.ui.kt @@ -1,29 +1,29 @@ -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.accordion(): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.button(): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.buttonset(): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.dialog(): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.dialog(mode: kotlin.String): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.dialog(mode: kotlin.String, param: kotlin.String): kotlin.Any? -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.dialog(mode: kotlin.String, param: kotlin.String, value: kotlin.Any?): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.dialog(params: kotlin.js.Json): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.draggable(params: kotlin.js.Json): jquery.JQuery -@kotlin.Deprecated(message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use declarations from 'https://bintray.com/kotlin/js-externals/kotlin-js-jquery' package instead.") public inline fun jquery.JQuery.selectable(): jquery.JQuery \ No newline at end of file diff --git a/libraries/stdlib/api/js/kotlin.collections.kt b/libraries/stdlib/api/js/kotlin.collections.kt index 6886180bc02..289d84bb1ba 100644 --- a/libraries/stdlib/api/js/kotlin.collections.kt +++ b/libraries/stdlib/api/js/kotlin.collections.kt @@ -3226,12 +3226,6 @@ public fun kotlin.collections.Map.getValue(key: K): V @kotlin.internal.InlineOnly public inline operator fun kotlin.collections.Map.getValue(thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): V1 -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use getValue() with two type parameters instead") -@kotlin.jvm.JvmName(name = "getVarContravariant") -@kotlin.internal.LowPriorityInOverloadResolution -@kotlin.internal.InlineOnly -public inline fun kotlin.collections.MutableMap.getValue(thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): V - @kotlin.jvm.JvmName(name = "getVar") @kotlin.internal.InlineOnly public inline operator fun kotlin.collections.MutableMap.getValue(thisRef: kotlin.Any?, property: kotlin.reflect.KProperty<*>): V1 diff --git a/libraries/stdlib/api/js/kotlin.js.kt b/libraries/stdlib/api/js/kotlin.js.kt index 3792f8270ba..62b876ae5db 100644 --- a/libraries/stdlib/api/js/kotlin.js.kt +++ b/libraries/stdlib/api/js/kotlin.js.kt @@ -9,9 +9,6 @@ public external val undefined: kotlin.Nothing? { get; } public val kotlin.reflect.KClass.js: kotlin.js.JsClass { get; } -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use class literal and extension property `js` instead.", replaceWith = kotlin.ReplaceWith(expression = "this::class.js", imports = {})) -public val T.jsClass: kotlin.js.JsClass { get; } - public val kotlin.js.JsClass.kotlin: kotlin.reflect.KClass { get; } public inline fun dateLocaleOptions(init: kotlin.js.Date.LocaleOptions.() -> kotlin.Unit): kotlin.js.Date.LocaleOptions @@ -20,9 +17,6 @@ public external fun eval(expr: kotlin.String): dynamic public external fun js(code: kotlin.String): dynamic -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use class literal and extension property `js` instead.", replaceWith = kotlin.ReplaceWith(expression = "T::class.js", imports = {})) -public external fun jsClass(): kotlin.js.JsClass - /*∆*/ public fun jsTypeOf(value_hack: kotlin.Any?): kotlin.String public fun json(vararg pairs: kotlin.Pair): kotlin.js.Json @@ -281,7 +275,7 @@ public external interface Json { public abstract operator fun set(propertyName: kotlin.String, value: kotlin.Any?): kotlin.Unit } -@kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "Use top-level functions from kotlin.math package instead.") +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use top-level functions from kotlin.math package instead.") public external object Math { @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.PI instead.", replaceWith = kotlin.ReplaceWith(expression = "PI", imports = {"kotlin.math.PI"})) public final val PI: kotlin.Double { get; } @@ -337,7 +331,7 @@ public external object Math { @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.pow instead.", replaceWith = kotlin.ReplaceWith(expression = "base.pow(exp)", imports = {"kotlin.math.pow"})) public final fun pow(base: kotlin.Double, exp: kotlin.Double): kotlin.Double - @kotlin.Deprecated(level = DeprecationLevel.WARNING, message = "Use Random.nextDouble instead", replaceWith = kotlin.ReplaceWith(expression = "kotlin.random.Random.nextDouble()", imports = {"kotlin.random.Random"})) + @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use Random.nextDouble instead", replaceWith = kotlin.ReplaceWith(expression = "kotlin.random.Random.nextDouble()", imports = {"kotlin.random.Random"})) public final fun random(): kotlin.Double @kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use kotlin.math.round instead.", replaceWith = kotlin.ReplaceWith(expression = "round(value)", imports = {"kotlin.math.round"})) @@ -403,14 +397,6 @@ public external interface RegExpMatch { public abstract val length: kotlin.Int { get; } } -@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.VALUE_PARAMETER, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER}) -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use `external` modifier instead") -public final annotation class native : kotlin.Annotation { - public constructor native(name: kotlin.String = ...) - - public final val name: kotlin.String { get; } -} - @kotlin.annotation.Target(allowedTargets = {AnnotationTarget.FUNCTION}) @kotlin.Deprecated(message = "Use inline extension function with body using dynamic") public final annotation class nativeGetter : kotlin.Annotation { diff --git a/libraries/stdlib/api/js/kotlin.kt b/libraries/stdlib/api/js/kotlin.kt index c043aeebf82..2dc8a14fa1e 100644 --- a/libraries/stdlib/api/js/kotlin.kt +++ b/libraries/stdlib/api/js/kotlin.kt @@ -2943,10 +2943,4 @@ public final annotation class UseExperimental : kotlin.Annotation { public constructor UseExperimental(vararg markerClass: kotlin.reflect.KClass) public final val markerClass: kotlin.Array> { get; } -} - -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Do not use Synchronized annotation in pure Kotlin/JS code") -public typealias Synchronized = kotlin.jvm.Synchronized - -@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Do not use Volatile annotation in pure Kotlin/JS code") -public typealias Volatile = kotlin.jvm.Volatile \ No newline at end of file +} \ No newline at end of file diff --git a/libraries/stdlib/api/js/kotlin.random.kt b/libraries/stdlib/api/js/kotlin.random.kt index 6a9b647bd8b..d5c24341773 100644 --- a/libraries/stdlib/api/js/kotlin.random.kt +++ b/libraries/stdlib/api/js/kotlin.random.kt @@ -88,15 +88,7 @@ public abstract class Random { public open fun nextLong(from: kotlin.Long, until: kotlin.Long): kotlin.Long - @kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Use Default companion object instead") - public object Companion : kotlin.random.Random { - public open override fun nextBits(bitCount: kotlin.Int): kotlin.Int - } - public companion object of Random Default : kotlin.random.Random { - @kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "Use Default companion object instead") - public final val Companion: kotlin.random.Random.Companion { get; } - public open override fun nextBits(bitCount: kotlin.Int): kotlin.Int public open override fun nextBoolean(): kotlin.Boolean diff --git a/libraries/stdlib/api/js/kotlin.time.kt b/libraries/stdlib/api/js/kotlin.time.kt index 3fe236ddbcf..1a6cd136902 100644 --- a/libraries/stdlib/api/js/kotlin.time.kt +++ b/libraries/stdlib/api/js/kotlin.time.kt @@ -331,30 +331,30 @@ public final data class TimedValue { @kotlin.SinceKotlin(version = "1.3") @kotlin.time.ExperimentalTime -@kotlin.Deprecated(message = "Use AbstractDoubleTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "AbstractDoubleTimeSource", imports = {"kotlin.time.AbstractDoubleTimeSource"})) +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use AbstractDoubleTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "AbstractDoubleTimeSource", imports = {"kotlin.time.AbstractDoubleTimeSource"})) public typealias AbstractDoubleClock = kotlin.time.AbstractDoubleTimeSource @kotlin.SinceKotlin(version = "1.3") @kotlin.time.ExperimentalTime -@kotlin.Deprecated(message = "Use AbstractLongTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "AbstractLongTimeSource", imports = {"kotlin.time.AbstractLongTimeSource"})) +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use AbstractLongTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "AbstractLongTimeSource", imports = {"kotlin.time.AbstractLongTimeSource"})) public typealias AbstractLongClock = kotlin.time.AbstractLongTimeSource @kotlin.SinceKotlin(version = "1.3") @kotlin.time.ExperimentalTime -@kotlin.Deprecated(message = "Use TimeSource interface instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeSource", imports = {"kotlin.time.TimeSource"})) +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use TimeSource interface instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeSource", imports = {"kotlin.time.TimeSource"})) public typealias Clock = kotlin.time.TimeSource @kotlin.SinceKotlin(version = "1.3") @kotlin.time.ExperimentalTime -@kotlin.Deprecated(message = "Use TimeMark class instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeMark", imports = {"kotlin.time.TimeMark"})) +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use TimeMark class instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeMark", imports = {"kotlin.time.TimeMark"})) public typealias ClockMark = kotlin.time.TimeMark @kotlin.SinceKotlin(version = "1.3") @kotlin.time.ExperimentalTime -@kotlin.Deprecated(message = "Use TimeSource.Monotonic instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeSource.Monotonic", imports = {"kotlin.time.TimeSource"})) +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use TimeSource.Monotonic instead.", replaceWith = kotlin.ReplaceWith(expression = "TimeSource.Monotonic", imports = {"kotlin.time.TimeSource"})) public typealias MonoClock = kotlin.time.TimeSource.Monotonic @kotlin.SinceKotlin(version = "1.3") @kotlin.time.ExperimentalTime -@kotlin.Deprecated(message = "Use TestTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "TestTimeSource", imports = {"kotlin.time.TestTimeSource"})) +@kotlin.Deprecated(level = DeprecationLevel.ERROR, message = "Use TestTimeSource instead.", replaceWith = kotlin.ReplaceWith(expression = "TestTimeSource", imports = {"kotlin.time.TestTimeSource"})) public typealias TestClock = kotlin.time.TestTimeSource \ No newline at end of file diff --git a/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-stdlib-runtime-merged.txt b/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-stdlib-runtime-merged.txt index a7e0267adc5..f31e5586abb 100644 --- a/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-stdlib-runtime-merged.txt +++ b/libraries/tools/binary-compatibility-validator/reference-public-api/kotlin-stdlib-runtime-merged.txt @@ -4200,7 +4200,6 @@ public final class kotlin/random/PlatformRandomKt { } public abstract class kotlin/random/Random { - public static final field Companion Lkotlin/random/Random$Companion; public static final field Default Lkotlin/random/Random$Default; public fun ()V public abstract fun nextBits (I)I @@ -4221,11 +4220,6 @@ public abstract class kotlin/random/Random { public fun nextLong (JJ)J } -public final class kotlin/random/Random$Companion : kotlin/random/Random { - public static final field INSTANCE Lkotlin/random/Random$Companion; - public fun nextBits (I)I -} - public final class kotlin/random/Random$Default : kotlin/random/Random { public fun nextBits (I)I public fun nextBoolean ()Z