[JS] Mark necessary methods that must be evaluated at compile-time

It includes methods and properties from Boolean, Char, String,
Enum and KCallable.
This commit is contained in:
Ivan Kylchik
2023-02-02 12:18:49 +01:00
committed by Space Team
parent fcd3fe4fe3
commit 695229e288
10 changed files with 252 additions and 82 deletions
@@ -19,5 +19,6 @@ public actual interface KCallable<out R> {
* - property accessors: the getter for a property named "foo" will have the name "<get-foo>",
* the setter, similarly, will have the name "<set-foo>".
*/
@kotlin.internal.IntrinsicConstEvaluation
public actual val name: String
}