blob: 371073b2c79e93b095f18894cc4e0da2203f2aa4 [file]
// During module instantiation, some JS references might be unresolved —
// for example, if a feature isn't supported in the current environment (like `Temporal` in KT-76509),
// or if an API is initialized later.
// So, qualifiers should generally be accessed at runtime.
// TARGET_BACKEND: WASM
// FILE: temporal.kt
package temporal
@JsQualifier("Temporal")
external class PlainTime // should be resolved at runtime
// FILE: main.kt
fun box(): String {
return "OK"
}