Files
kotlin-fork/compiler/testData/diagnostics/tests/noSymbolProvidersDuplicationInDiamond.kt
T
Marco Pennekamp d6cb75ca91 [LL FIR] KT-55329 Support transitive dependsOn dependencies in LL FIR
- 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
2023-01-30 17:17:58 +00:00

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"