[K/JS] Implement an incremental compilation for the per-file granularity

This commit is contained in:
Artem Kobzar
2023-07-19 15:57:56 +00:00
committed by Space Team
parent fd07f7f43c
commit 044c0adae7
185 changed files with 3530 additions and 513 deletions
@@ -0,0 +1,3 @@
@file:JsModule("../js-module-c")
external fun externalDemoFunction(): Int
@@ -0,0 +1,3 @@
@file:JsModule("../js-module-c-new")
external fun externalDemoFunction(): Int
@@ -0,0 +1,28 @@
STEP 0:
dependencies: lib1
modifications:
U : test.0.kt -> test.kt
added file: test.kt
STEP 1..2:
dependencies: lib1
STEP 3:
dependencies: lib1
modifications:
U : test.3.kt -> test.kt
modified ir: test.kt
STEP 4:
dependencies: lib1
updated imports: test.kt
STEP 5:
dependencies: lib1
modifications:
U : JsModuleC.5.kt -> JsModuleC.kt
added file: JsModuleC.kt
updated exports: JsModuleC.kt
updated imports: test.kt
STEP 6:
dependencies: lib1
modifications:
U : JsModuleC.6.kt -> JsModuleC.kt
modified ir: JsModuleC.kt
updated imports: test.kt
@@ -0,0 +1 @@
fun testFunction() = demoFunction()
@@ -0,0 +1 @@
fun testFunction() = externalDemoFunction() + 1