[K/JS] Add support of compilation with ES-classes

This commit is contained in:
Artem Kobzar
2023-01-17 18:14:17 +00:00
committed by Space Team
parent 8d728d4f53
commit 71486a321c
239 changed files with 57567 additions and 1658 deletions
@@ -1,6 +1,6 @@
// !LANGUAGE: +DefinitelyNonNullableTypes
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR, JS_IR_ES6
// IGNORE_BACKEND: WASM
fun <T> test(t: T) = t as (T & Any)
@@ -1,4 +1,4 @@
// IGNORE_BACKEND: JS, JS_IR, WASM
// IGNORE_BACKEND: JS, JS_IR, JS_IR_ES6, WASM
@Suppress("UNCHECKED_CAST")
fun <T> f() = 1L as T