File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed
rules/common/src/main/kotlin/io/nlopez/compose/rules Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -22,9 +22,6 @@ class ComposeContentEmitterReturningValues : ComposeKtVisitor {
22
22
// We don't want to analyze composables that are extension functions, as they might be things like
23
23
// BoxScope which are legit, and we want to avoid false positives.
24
24
.filter { it.hasBlockBody() }
25
- // Same applies to context receivers: we could have a BoxScope/ColumnScope/RowScope and it'd be legit.
26
- // We don't have a way to know for sure, so we'd better avoid the issue altogether.
27
- .filter { it.contextReceivers.isEmpty() }
28
25
// We want only methods with a body
29
26
.filterNot { it.hasReceiverType }
30
27
// Now we want to get the count of direct emitters in them: the composables we know for a fact that output UI
You can’t perform that action at this time.
0 commit comments