Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Jetpack Compose version: 1.7.7, 1.8.0-beta01 Jetpack Compose component used: foundation, ui, m3 Kotlin version: 2.1.20-Beta2
This seems to be a Compose compiler bug introduced in Kotlin 2.1.20-Beta2: when a Composable function takes a nullable enum type as a param, the app will crash if the callsite's argument is an expression that evaluates to
null
.See details inhttps://youtrack.jetbrains.com/issue/KT-74845