[K/JS] Generate tests for K2 + ES-classes compilation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// IGNORE_BACKEND_K2: JS_IR
|
||||
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6
|
||||
// EXPECTED_REACHABLE_NODES: 1292
|
||||
package foo
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// IGNORE_BACKEND: JS
|
||||
// IGNORE_BACKEND_K2: JS_IR
|
||||
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6
|
||||
// EXPECTED_REACHABLE_NODES: 1270
|
||||
// SKIP_MINIFICATION
|
||||
// RUN_PLAIN_BOX_FUNCTION
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// IGNORE_BACKEND_K2: JS_IR
|
||||
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6
|
||||
// EXPECTED_REACHABLE_NODES: 1323
|
||||
fun <T> checkThrown(x: T, block: (T) -> Any?): Unit? {
|
||||
return try {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// IGNORE_BACKEND_K2: JS_IR
|
||||
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6
|
||||
// FIR works fine, however it generates another names for the temporary variables, therefore ignore it
|
||||
|
||||
fun demo(f: () -> String) = f()
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K2: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6
|
||||
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6
|
||||
// TODO: Unmute when extension functions are supported in external declarations.
|
||||
// IGNORE_BACKEND: JS
|
||||
// IGNORE_BACKEND_K1: WASM
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// IGNORE_BACKEND_K1: JS_IR
|
||||
// IGNORE_BACKEND_K2: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6
|
||||
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6
|
||||
// TODO: Unmute when extension functions are supported in external declarations.
|
||||
// IGNORE_BACKEND: JS
|
||||
// IGNORE_BACKEND: WASM
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// IGNORE_BACKEND_K2: JS_IR
|
||||
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6
|
||||
// EXPECTED_REACHABLE_NODES: 1314
|
||||
package foo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user