Index: pkg/analyzer/lib/src/summary/package_bundle_reader.dart |
diff --git a/pkg/analyzer/lib/src/summary/package_bundle_reader.dart b/pkg/analyzer/lib/src/summary/package_bundle_reader.dart |
index a3c1d0c69685c2fe11404d58bb1663a1523a6cf6..21102db355eaac809ed848fb1ec29730a735e1c1 100644 |
--- a/pkg/analyzer/lib/src/summary/package_bundle_reader.dart |
+++ b/pkg/analyzer/lib/src/summary/package_bundle_reader.dart |
@@ -103,8 +103,7 @@ class InSummarySource extends Source { |
UriKind get uriKind => UriKind.PACKAGE_URI; |
@override |
- bool operator ==(Object object) => |
- object is InSummarySource && object.uri == uri; |
+ bool operator ==(Object object) => object is Source && object.uri == uri; |
@override |
bool exists() => true; |