Skip to content

Commit

Permalink
Fix isEqualTo not.dart (#167)
Browse files Browse the repository at this point in the history
other.predicate is checking against itself rather than this.predicate.
  • Loading branch information
North101 authored Feb 29, 2024
1 parent 5747620 commit c3d1972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/parser/character/not.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ class NotCharacterPredicate extends CharacterPredicate {
@override
bool isEqualTo(CharacterPredicate other) =>
other is NotCharacterPredicate &&
other.predicate.isEqualTo(other.predicate);
predicate.isEqualTo(other.predicate);
}

0 comments on commit c3d1972

Please sign in to comment.