:wave: Are the new experimental <context receivers...
# compose
n
👋 Are the new experimental context receivers usable with Composable functions? I’ve tried playing around with some basic examples but keep running into
Backend Internal error: Exception during IR lowering
, wondering if I’m doing it wrong or if it’s just not supported yet
1
j
Try it out, let me know how it goes. If it doesn't work, let me know and I can try respinning that build.
n
Thanks! Trying it now, one sec
This is my first time grabbing a dev build of compose, so not positive I’m doing that right but I’m getting
Could not find androidx.compose.ui:ui-tooling-preview:1.2.0-dev-k1.7.0-RC2-6ab9bf980ae.
I added this to my settings.gradle.kts:
Copy code
maven {
            url = URI("<https://androidx.dev/storage/compose-compiler/repository/>")
        }
j
I think you may have tried to upgrade all of Compose instead of just the Compose Compiler?
Specifically, your change should not have impacted
ui-tooling-preview
which is not a dependency of the ComposeCompiler.
n
Ah, yep. I just lowered it back to 1.2.0-beta03. I’m back to getting Internal Compiler Errors though
Backend Internal error: Exception during IR lowering
If I do 1.1.1 it’s the same error, so that being beta isn’t it
j
What does the context receiver composable you're testing look like? I can try it out locally
n
wait
yeah that was my fault - some failed debugging attempts caused it - went back to what I started with on the RC versions and it works!
👍 1
🎉 3
thanks!
👍 1