d6cb75ca91
- In contrast to other kinds of dependencies, `dependsOn` dependencies must be followed transitively. - Add `transitiveDependsOnDependencies` to `KtModule`. These dependencies are calculated lazily with a topological sort. They are added to the dependency provider when it's built in `LLFirSessionFactory`. ^KT-55329 fixed
19 lines
384 B
Kotlin
Vendored
19 lines
384 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// !LANGUAGE: +MultiPlatformProjects
|
|
// TARGET_BACKEND: JVM
|
|
|
|
// MODULE: common
|
|
// TARGET_PLATFORM: Common
|
|
expect fun g0(): String
|
|
|
|
// MODULE: intermediate1()()(common)
|
|
// TARGET_PLATFORM: Common
|
|
|
|
// MODULE: intermediate2()()(common)
|
|
// TARGET_PLATFORM: Common
|
|
|
|
// MODULE: main()()(intermediate1, intermediate2)
|
|
// TARGET_PLATFORM: JVM
|
|
|
|
actual fun g0(): String = "OK"
|