rra/ilgonmic/eager-like-native

[JS IR] Leave JsEagerInitialization until bootstrap update

[JS IR] Fix js stdlib api

[JS IR] Change annotation on eager initialization in sources

[JS IR] Make eager initialization consistent with native

Merge-request: KT-MR-5030
This commit is contained in:
Ilya Goncharov
2021-11-22 12:45:37 +00:00
committed by Space
parent 24bc1fe1b4
commit f48436b35e
10 changed files with 31 additions and 34 deletions
+9 -8
View File
@@ -192,6 +192,15 @@ public final external class Date {
}
}
@kotlin.ExperimentalStdlibApi
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.PROPERTY})
@kotlin.SinceKotlin(version = "1.6")
@kotlin.Deprecated(message = "This annotation is a temporal migration assistance and may be removed in the future releases, please consider filing an issue about the case where it is needed")
public final annotation class EagerInitialization : kotlin.Annotation {
public constructor EagerInitialization()
}
@kotlin.RequiresOptIn(level = Level.WARNING)
@kotlin.annotation.MustBeDocumented
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
@@ -224,14 +233,6 @@ public external interface JsClass<T : kotlin.Any> {
public abstract val name: kotlin.String { get; }
}
@kotlin.ExperimentalStdlibApi
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.PROPERTY})
@kotlin.SinceKotlin(version = "1.6")
public final annotation class JsEagerInitialization : kotlin.Annotation {
public constructor JsEagerInitialization()
}
@kotlin.js.ExperimentalJsExport
@kotlin.annotation.Retention(value = AnnotationRetention.BINARY)
@kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS, AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION, AnnotationTarget.FILE})