Avatar ·

Backend Internal error when using clickable in Jetpack Compose

Hello, colleagues! I'm a beginner Kotlin and Jetpack Compose developer. I've encountered a problem that I haven't been able to solve for several hours. I have a simple screen with a card, and I want to attach a click handler to it. I'm using the `.clickable` modifier, but when compiling I get the error: ``` Backend Internal error: Exception during IR lowering ``` Here's my code: ```kotlin @Composable fun MyScreen() { var count by remember { mutableStateOf(0) } Card( modifier = Modifier .fillMaxWidth() .padding(16.dp) .clickable { count++ } ) { Text("Clicked: $count") } } ``` I've tried different options: extracting the lambda into a separate variable, using `Modifier.clickable(onClick = { count++ })`, but the error