-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ComposeUnstableReceiver detected on skippable functions #463
Comments
Can you please include an example? This isn't really actionable with the limited context you've given 😅 |
@ZacSweers for instance, we have a fragment class with an instance function which accesses various instance properties.
and in the compose report it's shown as
We're guessing this lint detector was written before strong skipping was turned on by default, but that's only a guess that perhaps strong skipping is in play. |
Imho, this rule makes little sense with Strong Skipping enabled. To the best of my understanding, the intention behind this rule is to detect implicit This effect wouldn't be applied to the project with Strong Skipping enabled, because |
We have a few instance functions which are annotated with
@Composable
and theComposeUnstableReceiver
detector calls them out as problematic due to the 0th argument being unstable. But after checking our compose report we see the composable is marked as skippable. Could this be due to strong skipping? Perhaps with strong skipping this detector is no longer needed in its current form?The text was updated successfully, but these errors were encountered: