15 lines
271 B
Kotlin
Vendored
15 lines
271 B
Kotlin
Vendored
// IGNORE_BACKEND: WASM
|
|
// WASM_MUTE_REASON: STDLIB_COLLECTION_INHERITANCE
|
|
// KJS_WITH_FULL_RUNTIME
|
|
// IGNORE_BACKEND: NATIVE
|
|
|
|
interface A : Set<String>
|
|
|
|
class B : A, HashSet<String>()
|
|
|
|
fun box(): String {
|
|
val b = B()
|
|
b.add("OK")
|
|
return b.iterator().next()
|
|
}
|