Skip to content

Commit 2f857ba

Browse files
fishythefishCommit Queue
authored and
Commit Queue
committed
[dart2js] Make Selector.operator == an identical check.
Change-Id: Icd0d172d9234f1873d65793600dab1698569faf2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/401262 Commit-Queue: Nate Biggs <[email protected]> Reviewed-by: Nate Biggs <[email protected]> Auto-Submit: Mayank Patke <[email protected]> Commit-Queue: Mayank Patke <[email protected]>
1 parent 08252fc commit 2f857ba

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/compiler/lib/src/universe/selector.dart

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ class Selector {
4343
final int hashCode;
4444

4545
@override
46-
bool operator ==(other) =>
47-
identical(this, other) || other is Selector && hashCode == other.hashCode;
46+
bool operator ==(other) => identical(this, other);
4847

4948
int get argumentCount => callStructure.argumentCount;
5049
int get namedArgumentCount => callStructure.namedArgumentCount;

0 commit comments

Comments
 (0)