[FIR] Properly implement serializer extension for klib compilation

^KT-57654 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-03-29 18:20:15 +03:00
committed by Space Team
parent 6604627fa8
commit 92a59279d5
17 changed files with 353 additions and 213 deletions
@@ -53,7 +53,7 @@ class CustomK2Tests : KGPBaseTest() {
}
@GradleTest
@DisplayName("HMPP compilation without JS target. KT-57376, KT-57377, KT-57635")
@DisplayName("HMPP compilation without JS target. KT-57376, KT-57377, KT-57635, KT-57654")
fun testHmppCompilationWithoutJsTarget(gradleVersion: GradleVersion) {
with(project("k2-mpp-without-js", gradleVersion)) {
val taskToExecute = ":compileIntermediateMainKotlinMetadata"
@@ -0,0 +1,8 @@
// ISSUE: KT-57654
package kt57654
class A {
fun foo() {}
}
fun useA(block: A.() -> Unit) {}
@@ -0,0 +1,8 @@
// ISSUE: KT-57654
package kt57654
fun test() {
useA {
foo()
}
}