Skip to content

Commit 59f389d

Browse files
authored
Remove unneeded comparison to double.nan (#115470)
Fixes #115468
1 parent fafa11d commit 59f389d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/flutter/lib/src/semantics/semantics.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4759,7 +4759,6 @@ class OrdinalSortKey extends SemanticsSortKey {
47594759
this.order, {
47604760
super.name,
47614761
}) : assert(order != null),
4762-
assert(order != double.nan),
47634762
assert(order > double.negativeInfinity),
47644763
assert(order < double.infinity);
47654764

0 commit comments

Comments
 (0)