hfhbd
11/16/2023, 10:24 AM// common
expect interface Closeable {
fun close()
}
// target, here wasmMain
@OptIn(ExperimentalStdlibApi::class)
public actual typealias Closeable = kotlin.AutoCloseable
When I use this interface in common, class Foo: Closeable
, I get this error: This declaration needs opt-in
.hho
11/16/2023, 1:36 PM