Skip to content

Commit

Permalink
== override parameters are non-nullable
Browse files Browse the repository at this point in the history
Make operator == override parameters no-nullable. See https://github.com/dart-lang/linter/issues/3441

Work towards dart-lang/sdk#51038.
  • Loading branch information
srawlins authored Jan 17, 2023
1 parent 424d016 commit ee393f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2159,7 +2159,7 @@ class EntryBuildSpyCall {
final int value2;

@override
bool operator ==(dynamic o) =>
bool operator ==(Object o) =>
o is EntryBuildSpyCall && o.value1 == value1 && o.value2 == value2;

@override
Expand Down

0 comments on commit ee393f1

Please sign in to comment.