You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some functions don't need to be @Composable but are.
Maybe the function originally used some other @Composable thing but it was removed at some point, would be nice to have a lint check that reported "@Composable can be removed from function foo()"
The text was updated successfully, but these errors were encountered:
That would trigger the issue to say "@Composable is not needed for this function/property"
Ideally any function/property that compiles just fine and works the same if you remove the @Composable annotation should trigger the warning, but even just covering basic cases would still be useful as some cases might be harder to detect.
Some functions don't need to be
@Composable
but are.Maybe the function originally used some other
@Composable
thing but it was removed at some point, would be nice to have a lint check that reported "@Composable
can be removed from function foo()"The text was updated successfully, but these errors were encountered: