blob: 7f057cf1611c3e2e0fffb96dd56f12305d99216b [file]
// ES_MODULES
// Should become red when KT-82785 is fixed
// FILE: jsQualifierOnLocalDeclarations.mjs
export class C {
o() { return "O" }
}
C.D = class D {
k() { return "K" }
}
// FILE: lib1.kt
@file:JsModule("./jsQualifierOnLocalDeclarations.mjs")
external class C {
@JsQualifier("a")
fun o(): String
@JsQualifier("b")
class D {
fun k(): String
}
}
// FILE: main.kt
fun box() = C().o() + C.D().k()