:thinking_face: any known compatibility issues exi...
# compose
s
🤔 any known compatibility issues exist with compose and new data store? Looks like enabling new IR backend breaks my app with
Copy code
e: java.lang.IllegalStateException: Backend Internal error: Exception during IR lowering
a
i saw this before but forgot how to reproduce it so was unable to file a bug. i would file one if you get a chance 😄
a
Probably something similar is happening in Compose, I encountered this issue in a ViewModel.
Copy code
@ExperimentalGetImage
fun initialize() {
    imageStateFlow
        .onEach(::analyzeImage)
        .launchIn(viewModel)
}

@ExperimentalGetImage
fun analyzeImage() {}
fixed with
Copy code
imageStateFlow
        .onEach{ analyzeImage(it) }
        .launchIn(viewModel)
👍 1
s
Right, same worked for me 👍
👍 1