diff --git a/redwood-compose/src/commonMain/kotlin/app/cash/redwood/compose/RedwoodComposition.kt b/redwood-compose/src/commonMain/kotlin/app/cash/redwood/compose/RedwoodComposition.kt index bb9dd91542..e10ca93ae2 100644 --- a/redwood-compose/src/commonMain/kotlin/app/cash/redwood/compose/RedwoodComposition.kt +++ b/redwood-compose/src/commonMain/kotlin/app/cash/redwood/compose/RedwoodComposition.kt @@ -21,6 +21,7 @@ import androidx.compose.runtime.ComposeNode import androidx.compose.runtime.Composition import androidx.compose.runtime.CompositionLocalProvider import androidx.compose.runtime.DisallowComposableCalls +import androidx.compose.runtime.ExplicitGroupsComposable import androidx.compose.runtime.MonotonicFrameClock import androidx.compose.runtime.Recomposer import androidx.compose.runtime.Updater @@ -187,6 +188,7 @@ public interface RedwoodApplier { */ @Composable @RedwoodCodegenApi +@ExplicitGroupsComposable public inline fun , W : Widget, V : Any> RedwoodComposeNode( crossinline factory: (O) -> W, update: @DisallowComposableCalls Updater>.() -> Unit,