[Wasm][Temporary] Stubs for typeOf and ::class constructs
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: CLASS_REFERENCES
|
||||
// WITH_RUNTIME
|
||||
// WITH_COROUTINES
|
||||
import kotlin.coroutines.*
|
||||
|
||||
Vendored
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun nonGenericId(x: Any?) = x
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: REFLECTION
|
||||
|
||||
fun box(): String {
|
||||
lateinit var str: String
|
||||
try {
|
||||
|
||||
Vendored
-3
@@ -1,8 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: REFLECTION
|
||||
|
||||
import kotlin.UninitializedPropertyAccessException
|
||||
|
||||
fun runNoInline(f: () -> Unit) = f()
|
||||
|
||||
-3
@@ -1,8 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: REFLECTION
|
||||
|
||||
import kotlin.UninitializedPropertyAccessException
|
||||
|
||||
fun runNoInline(f: () -> Unit) = f()
|
||||
|
||||
-3
@@ -1,8 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: REFLECTION
|
||||
|
||||
import kotlin.UninitializedPropertyAccessException
|
||||
|
||||
fun box(): String {
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: REFLECTION
|
||||
|
||||
import kotlin.UninitializedPropertyAccessException
|
||||
|
||||
fun box(): String {
|
||||
|
||||
-2
@@ -1,6 +1,4 @@
|
||||
// WITH_RUNTIME
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: REFLECTION
|
||||
|
||||
// FILE: lateinit.kt
|
||||
|
||||
|
||||
-3
@@ -1,8 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: REFLECTION
|
||||
|
||||
import kotlin.UninitializedPropertyAccessException
|
||||
|
||||
lateinit var str: String
|
||||
|
||||
-3
@@ -1,8 +1,5 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: REFLECTION
|
||||
|
||||
import kotlin.UninitializedPropertyAccessException
|
||||
|
||||
lateinit var str: String
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: IGNORED_IN_JS
|
||||
// IGNORE_BACKEND: JS_IR
|
||||
// IGNORE_BACKEND: JS_IR_ES6
|
||||
// TODO: muted automatically, investigate should it be ran for JS or not
|
||||
|
||||
Reference in New Issue
Block a user