[JS IR] Fix a IC dependency building for class methods.

The patch fixes lost IC dependencies for inherited class or interface methods.
 Especially between a fake override function and its implementation.
 Since IrSymbolDeserializer doesn't provide all class methods,
 they are collected from the class definitions.

^KT-53063 Fixed
This commit is contained in:
Alexander Korepanov
2022-07-05 12:34:54 +02:00
committed by Space
parent edbccd0add
commit 6525f7a7ac
42 changed files with 504 additions and 30 deletions
@@ -0,0 +1,3 @@
class Module1Class: Module2Interface {
fun testFunction1() = 1
}
@@ -0,0 +1,25 @@
STEP 0:
dependencies: lib1
added file: l2.kt
STEP 1:
dependencies: lib1
updated exports: l2.kt
STEP 2:
dependencies: lib1
updated imports: l2.kt
STEP 3:
dependencies: lib1
STEP 4:
dependencies: lib1
updated exports: l2.kt
STEP 5:
dependencies: lib1
STEP 6:
dependencies: lib1
updated imports: l2.kt
updated exports: l2.kt
STEP 7:
dependencies: lib1
STEP 8:
dependencies: lib1
updated exports: l2.kt