[JS IR] IC: Propagate dependencies from nested declaration to parent

JsIrLinker can't load nested declarations,
 therefore it is required to load their parent.
 This patch adds a dependency in the incremental cache graph
 between nested declaration user and nested declaration parent.

^KT-53931 Fixed
^KT-54120 Fixed
This commit is contained in:
Alexander Korepanov
2022-09-23 18:55:08 +02:00
committed by Space
parent bd085fbf43
commit 252dc01dd5
34 changed files with 372 additions and 13 deletions
@@ -0,0 +1,20 @@
MODULES: lib1, main
STEP 0..1:
libs: lib1, main
dirty js: lib1, main
STEP 2:
libs: lib1, main
dirty js: lib1
STEP 3:
libs: lib1, main
dirty js: lib1, main
STEP 4:
libs: lib1, main
dirty js: lib1
STEP 5:
libs: lib1, main
dirty js: lib1, main
STEP 6:
libs: lib1, main
dirty js: lib1