[WASM] Implement lazy with UnsafeLazyImpl
This commit is contained in:
committed by
TeamCityServer
parent
d55e16a030
commit
ea060dcf8a
@@ -1,5 +1,3 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: STDLIB_LAZY
|
||||
// WITH_STDLIB
|
||||
|
||||
fun box(): String {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// !LANGUAGE: +UnrestrictedBuilderInference
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// FIR status: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER on lazy call (Name3, T)
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: STDLIB_LAZY
|
||||
// WITH_STDLIB
|
||||
|
||||
fun <C : Any> diContext(context: C): DIContext<C> = DIContext(TypeToken(), context)
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// WITH_STDLIB
|
||||
// KJS_FULL_RUNTIME
|
||||
// SKIP_MANGLE_VERIFICATION
|
||||
// IGNORE_BACKEND: WASM
|
||||
|
||||
interface I {
|
||||
companion object {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: STDLIB_LAZY
|
||||
// WITH_STDLIB
|
||||
|
||||
// MODULE: lib
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
// IGNORE_BACKEND: WASM
|
||||
// WASM_MUTE_REASON: STDLIB_LAZY
|
||||
// WITH_STDLIB
|
||||
|
||||
val b: First by lazy {
|
||||
|
||||
Reference in New Issue
Block a user