Index: lib/src/file.dart |
diff --git a/lib/src/file.dart b/lib/src/file.dart |
index c180929f785e8698689c907c221b4013204d7ead..aee3d7831ae5dddff743dcab14a5d1f39df5c150 100644 |
--- a/lib/src/file.dart |
+++ b/lib/src/file.dart |
@@ -263,6 +263,9 @@ class _FileSpan extends SourceSpanMixin implements FileSpan { |
sourceUrl == other.sourceUrl; |
} |
+ // Eliminates dart2js warning about overriding `==`, but not `hashCode` |
+ int get hashCode => super.hashCode; |
+ |
/// Returns a new span that covers both [this] and [other]. |
/// |
/// Unlike [union], [other] may be disjoint from [this]. If it is, the text |