Files
kotlin-fork/compiler/testData/codegen/box/properties/complexPropertyInitializer.kt
T

12 lines
206 B
Kotlin
Vendored

// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: COROUTINES
// WITH_RUNTIME
class A {
val s: Sequence<String> = sequence {
val a = {}
yield("OK")
}
}
fun box(): String = A().s.single()