[K/JS] Fix nameBindings for ES-modules after the ES-modules external declarations optimization

This commit is contained in:
Artem Kobzar
2023-10-20 14:04:39 +00:00
committed by Space Team
parent 72438f4969
commit 4a042dafef
15 changed files with 84 additions and 1 deletions
@@ -0,0 +1,3 @@
external object ObjectB {
fun getResult(): String
}
@@ -0,0 +1,5 @@
@JsNonModule
@JsModule("../third-party-lib.mjs")
external object ObjectB {
fun getResult(): String
}
@@ -0,0 +1,8 @@
STEP 0:
modifications:
U : ObjectB.0.kt -> ObjectB.kt
added file: ObjectB.kt
STEP 1:
modifications:
U : ObjectB.1.kt -> ObjectB.kt
modified ir: ObjectB.kt