Fixed
Status Update
Comments
as...@google.com <as...@google.com>
ap...@google.com <ap...@google.com> #2
I simpler example would be appreciated. I tried to download the pull request and build it but it relies on, for example, `rustc` to be installed which I don't have installed on my compose development machine.
Does the program work without the compiler switch. That is, is `"-P", "plugin:androidx.compose.compiler.plugins.kotlin:experimentalStrongSkipping=true",` required to reproduce or is just changing the runtime enough?
Does the program work without the compiler switch. That is, is `"-P", "plugin:androidx.compose.compiler.plugins.kotlin:experimentalStrongSkipping=true",` required to reproduce or is just changing the runtime enough?
lo...@gmail.com <lo...@gmail.com> #3
Yeah, changing compiler switch(enable/disable StrongSkipping, enable/disable nonSkippingGroup) has no effect, only changing runtime make sense.
Sorry for that, I will try to extract an example when I'm free.
Sorry for that, I will try to extract an example when I'm free.
Description
Jetpack Compose version:
Jetpack Compose component used: compiler and runtime
Android Studio Build:
Kotlin version: 1.9.21
I encountered this crash upgrading Kotlin from 1.9.20 to 1.9.21. When I switched our project to Kotlin 1.9.21, one of our compositions started to crash.
I isolated the crash to this minimal sample:
This sample uses Molecule to start the composition in a test case. I don’t believe Molecule is necessary to reproduce this.
Stack trace (if applicable):
I believe the
return@run
lines are particularly problematic here. Replacing those lines withUnit
prevents the crash.I believe this is related to another bug from August 2021. https://issuetracker.google.com/issues/195242921