Kathrin Petrova
11/16/2023, 5:26 PMZac Sweers
11/20/2023, 7:55 PMJosh Friend
11/20/2023, 11:25 PM1.5.5-dev-k2.0.0-Beta1-06b8ae672a4
), i see lots of Cannot access class 'androidx.compose.runtime.internal.ComposableFunction1'.
errors in builds. Seems to happen when setting languageVersion = '1.9'
for a project.Josh Friend
11/21/2023, 3:07 AMKathrin Petrova
12/15/2023, 12:52 PMbod
01/08/2024, 9:39 AM.kotlin
folder is created with a bunch of files in it when building. Should we expect this to be there for good, or just a fluke of this beta? (Just so I know if it's worth adding to .gitignore
)Kathrin Petrova
01/19/2024, 2:40 PMJosh Friend
01/23/2024, 4:25 PMZac Sweers
02/05/2024, 2:50 AMNOTHING_TO_INLINE
on this, but since it has function parameters this seems like a reasonable candidate. I wanted to check here if this is expected before filing a bug
@Composable
inline fun <S> Transition<S>.animateColorList(
targetColorListByState: @Composable (state: S) -> ImmutableList<Color>,
label: String,
noinline transitionSpec:
@Composable
Transition.Segment<ImmutableList<Color>>.() -> FiniteAnimationSpec<Color> =
{
spring()
},
): State<ImmutableList<Color>> {
val colorSpace = targetColorListByState(currentState).first().colorSpace
val typeConverter = remember(colorSpace) { Color.VectorConverter(colorSpace) }
return animateValueList(
typeConverter = typeConverter,
targetValueListByState = targetColorListByState,
label = label,
transitionSpec = transitionSpec,
)
}
Alyona Chernyaeva
02/05/2024, 4:43 PMKathrin Petrova
02/15/2024, 12:29 PMhfhbd
02/16/2024, 9:48 AMK2=true
fails due the pre-release check?Zac Sweers
02/19/2024, 3:58 AM-Xproper-ieee754-comparisons
in our builds but K2 reports this is no longer a valid argument. I couldn't find any references in release notes about this, are there details on the change?Kathrin Petrova
03/20/2024, 2:03 PMtapchicoma
03/21/2024, 12:52 PMRick Clephas
03/24/2024, 12:43 PM.kotlin
directory?molikuner
04/05/2024, 2:01 PM2.0.0-Beta5
) I noticed that there is a slight behavioural change with regards to where null checks are being generated in (local) lambdas. See the example code in the 🧵John O'Reilly
04/09/2024, 12:40 PMCaused by: java.lang.ExceptionInInitializerError: Exception java.lang.ArrayStoreException: org.jetbrains.kotlin.konan.target.KonanTarget$IOS_ARM32 [in thread "Daemon worker"]
error when syncing.....this is in KMP project so maybe known issue? Full stack in thread. Tried latest AS canary so farAyfri
04/09/2024, 7:25 PMInterface '@Serializable(...) fun interface RecipeType : Any' does not have constructors.
eygraber
04/09/2024, 9:31 PMefemoney
04/09/2024, 10:36 PMfun Project.ComposeConvention() {
pluginManager.withPlugin("org.jetbrains.kotlin.plugin.compose") {
configure<ComposeCompilerGradlePluginExtension> {
val reporting = the<ReportingExtension>()
val reportsEnabled = providers.gradleProperty("compose.enableReports")
val reportsDir = reporting.baseDirectory.dir("compose").filter { reportsEnabled.orNull == "true" }
reportsDestination = reportsDir
metricsDestination = reportsDir
enableIntrinsicRemember = true
enableExperimentalStrongSkippingMode = true
stabilityConfigurationFile = rootProject.file("compose-stability-config.txt")
}
dependencies {
"implementation"(libs.jetbrains.compose.runtime)
}
}
}
💚Oliver.O
04/10/2024, 4:31 PMFor now, for CM this one can be used for now: pkg:maven/org.jetbrains.compose.compiler/compiler@1.5.11-kt-2.0.0-RC1But there seems to be no workling CMP Gradle plugin.
Slackbot
04/10/2024, 5:18 PMOliver.O
04/11/2024, 10:03 AMOliver.O
04/11/2024, 2:09 PMwebpack-dev-server
, upgraded from 4.15.0 to 5.0.4, requires a configuration change for URL proxying: devServer.proxy
now expects a JS array instead of an object.
Other than that I think I have just removed all compiler- or stdlib-related workarounds but one. (The remaining one is KT-48292 – KJS / IR: println
doesn't move to a new line in tests).Carter
04/11/2024, 2:32 PMCarter
04/11/2024, 2:34 PMkotlin.js.yarn=false
?
> Task :browser-route-lib:jsBrowserTest
Error during loading "kotlin-test-js-runner/karma-kotlin-reporter.js" plugin:
Cannot find module 'karma/lib/utils/path-utils'
Require stack:
- ~/kmp-sigma/build/js/packages_imported/kotlin-test-js-runner/0.0.1/karma-kotlin-reporter.js
- ~/kmp-sigma/build/js/packages/Sigma-browser-route-lib-test/node_modules/karma/lib/plugin.js
- ~/kmp-sigma/build/js/packages/Sigma-browser-route-lib-test/node_modules/karma/lib/server.js
- ~/kmp-sigma/build/js/packages/Sigma-browser-route-lib-test/node_modules/karma/lib/cli.js
- ~/kmp-sigma/build/js/packages/Sigma-browser-route-lib-test/node_modules/karma/bin/karma
Cannot load "sourcemap", it is not registered!
Perhaps you are missing some plugin?
Server start failed on port 9876: Error: No provider for "framework:mocha"! (Resolving: framework:mocha)
Can not load reporter "karma-kotlin-reporter", it is not registered!
Perhaps you are missing some plugin?
java.lang.IllegalStateException: command '~/.gradle/nodejs/node-v20.12.1-darwin-arm64/bin/node' exited with errors (exit code: 1)
Rick Clephas
04/14/2024, 9:04 AMianbrandt
04/22/2024, 6:36 PMe: KotlinTest.kt Argument type mismatch: actual type is 'com.mypackage.JavaClass<com.mypackage.OtherJavaClass>', but 'com.mypackage.JavaClass<com.mypackage.OtherJavaClass?>' was expected.
Compiles successfully with 1.9.23. I'm presuming I'll have to provide more details or a reproducer, but I figured I'd start by posting the error in case anyone recognizes it as a known issue.