Skip to content

Commit

Permalink
ignore compose related internal dollar signed fields
Browse files Browse the repository at this point in the history
  • Loading branch information
kozaxinan committed Sep 14, 2024
1 parent 533af4e commit 44be549
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ internal class ImmutableDataClassDetector : Detector(), UastScanner {
if (containsEqualHashCode) {
val fields: List<UField> = node
.allFields
.filterNot { it.name.contains("$") }
.mapNotNull(PsiField::toUElementOfType)

validateDataClassFields(node, fields, context.evaluator)
Expand Down

0 comments on commit 44be549

Please # to comment.