twitter / compose-rules

Static checks to aid with a healthy adoption of Compose
https://twitter.github.io/compose-rules
Other
1.36k stars 93 forks source link

Fix `ComposeModifierReused` when using nested KtDotQualifiedExpressions #106

Closed mrmans0n closed 2 years ago

mrmans0n commented 2 years ago

ComposeModifierReused was ignoring legit violations when reusing modifiers that had deeply nested values, because the KtDotQualifiedExpression handling was not traversing the chained methods to get to the KtReferenceExpression leaf.