Skip to content

Commit

Permalink
Remove unneeded comparison to double.nan (#115470)
Browse files Browse the repository at this point in the history
Fixes #115468
  • Loading branch information
asashour authored Nov 17, 2022
1 parent fafa11d commit 59f389d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/flutter/lib/src/semantics/semantics.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4759,7 +4759,6 @@ class OrdinalSortKey extends SemanticsSortKey {
this.order, {
super.name,
}) : assert(order != null),
assert(order != double.nan),
assert(order > double.negativeInfinity),
assert(order < double.infinity);

Expand Down

0 comments on commit 59f389d

Please sign in to comment.