[K/JS] Implement file merging for clashed file during per-file compilation
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun test1() = test2()
|
||||
@@ -0,0 +1,4 @@
|
||||
package foo
|
||||
|
||||
@JsExport
|
||||
fun test1() = test2()
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun test1() = "OK"
|
||||
@@ -0,0 +1,5 @@
|
||||
@file:JsFileName("f1")
|
||||
|
||||
package foo
|
||||
|
||||
fun test2() = "OK"
|
||||
@@ -0,0 +1,6 @@
|
||||
@file:JsFileName("f1")
|
||||
|
||||
package foo
|
||||
|
||||
@JsExport
|
||||
fun test2() = "OK"
|
||||
@@ -0,0 +1,3 @@
|
||||
package foo
|
||||
|
||||
fun test2() = "OK"
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
STEP 0:
|
||||
added file: f1.kt
|
||||
STEP 1:
|
||||
modifications:
|
||||
U : f1.1.kt -> f1.kt
|
||||
U : f2.1.kt -> f2.kt
|
||||
modified ir: f1.kt
|
||||
added file: f2.kt
|
||||
STEP 2:
|
||||
modifications:
|
||||
U : f2.2.kt -> f2.kt
|
||||
modified ir: f2.kt
|
||||
updated imports: f1.kt
|
||||
STEP 3:
|
||||
modifications:
|
||||
U : f1.3.kt -> f1.kt
|
||||
modified ir: f1.kt
|
||||
STEP 4:
|
||||
modifications:
|
||||
U : f2.4.kt -> f2.kt
|
||||
modified ir: f2.kt
|
||||
updated imports: f1.kt
|
||||
Reference in New Issue
Block a user