8cde0a81bc
Generally, the library order doesn't matter. However, after lowering we need to post process lowered klibs in topological order: - commit incremental cache artifacts, - produce JS AST. The patch uses an ability of the Kotlin library resolver to load klibs in topological order and drops its reimplementation from IC infrastructure. There is one side effect: klibs which are not reachable from the main module, will produce their JS. This should be more correct than just ignoring them.
9 lines
153 B
Plaintext
Vendored
9 lines
153 B
Plaintext
Vendored
MODULES: lib1, lib2, main
|
|
|
|
STEP 0:
|
|
libs: lib1, lib2, main
|
|
dirty js: lib1, lib2, main
|
|
STEP 1:
|
|
libs: lib1, lib2, main
|
|
dirty js: lib1, lib2
|