[FIR] Properly setup dependant module data for metadata compilation

^KT-57377 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-03-28 21:20:58 +03:00
committed by Space Team
parent b2e03035a9
commit b9c61bbc60
5 changed files with 28 additions and 16 deletions
@@ -53,7 +53,7 @@ class CustomK2Tests : KGPBaseTest() {
}
@GradleTest
@DisplayName("HMPP compilation without JS target. KT-57376, KT-57635")
@DisplayName("HMPP compilation without JS target. KT-57376, KT-57377, KT-57635")
fun testHmppCompilationWithoutJsTarget(gradleVersion: GradleVersion) {
with(project("k2-mpp-without-js", gradleVersion)) {
val taskToExecute = ":compileIntermediateMainKotlinMetadata"
@@ -0,0 +1,5 @@
// ISSUE: KT-57377
package kt57377
internal class StringBox(val value: String)
internal fun createBox(value: String): StringBox = StringBox(value)
@@ -0,0 +1,5 @@
// ISSUE: KT-57377
package kt57377
internal val testInternal1 = StringBox("foo")
internal val testInternal2 = createBox("foo")