Skip to content

Commit dad2f96

Browse files
committed
Remove older kotlin versions (1.9.0 and 1.9.10) in nativeCacheKind test
The recent compose core libs are built using 1.9.21, and apparently, older k/native versions don't support them. e: kotlin.NotImplementedError: Generation of stubs for class org.jetbrains.kotlin.ir.symbols.impl.IrTypeParameterPublicSymbolImpl is not supported yet
1 parent 5d4b44e commit dad2f96

File tree

1 file changed

+4
-14
lines changed
  • gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/tests/integration

1 file changed

+4
-14
lines changed

gradle-plugins/compose/src/test/kotlin/org/jetbrains/compose/test/tests/integration/GradlePluginTest.kt

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -129,20 +129,10 @@ class GradlePluginTest : GradlePluginTestBase() {
129129
} else {
130130
":subproject:linkDebugFrameworkIosArm64"
131131
}
132-
with(nativeCacheKindProject(kotlinVersion = TestKotlinVersions.v1_9_0)) {
133-
gradle(task, "--info").checks {
134-
check.taskSuccessful(task)
135-
check.logDoesntContain("-Xauto-cache-from=")
136-
}
137-
}
138-
testWorkDir.deleteRecursively()
139-
testWorkDir.mkdirs()
140-
with(nativeCacheKindProject(kotlinVersion = TestKotlinVersions.v1_9_10) ) {
141-
gradle(task, "--info").checks {
142-
check.taskSuccessful(task)
143-
check.logDoesntContain("-Xauto-cache-from=")
144-
}
145-
}
132+
// Note: we used to test with kotlin version 1.9.0 and 1.9.10 too,
133+
// but since we now use Compose core libs (1.6.0-dev-1340 and newer) built using kotlin 1.9.21,
134+
// the compiler crashed (older k/native doesn't support libs built using newer k/native):
135+
// e: kotlin.NotImplementedError: Generation of stubs for class org.jetbrains.kotlin.ir.symbols.impl.IrTypeParameterPublicSymbolImpl is not supported yet
146136

147137
val defaultKotlinVersion = kotlinVersionNumbers(TestKotlinVersions.Default)
148138
if (defaultKotlinVersion >= KotlinVersion(1, 9, 20)) {

0 commit comments

Comments
 (0)