Index: pkg/analyzer_experimental/lib/src/generated/source.dart |
diff --git a/pkg/analyzer_experimental/lib/src/generated/source.dart b/pkg/analyzer_experimental/lib/src/generated/source.dart |
index 1fec2159abc280c5522444f072e942bd66575092..da272e95fdc6e4572ae5305e1790d7cc542d4968 100644 |
--- a/pkg/analyzer_experimental/lib/src/generated/source.dart |
+++ b/pkg/analyzer_experimental/lib/src/generated/source.dart |
@@ -420,6 +420,7 @@ class SourceKind implements Comparable<SourceKind> { |
SourceKind(this.name, this.ordinal) { |
} |
int compareTo(SourceKind other) => ordinal - other.ordinal; |
+ int get hashCode => ordinal; |
String toString() => name; |
} |
/** |
@@ -490,6 +491,7 @@ class UriKind implements Comparable<UriKind> { |
*/ |
int get encoding => _encoding; |
int compareTo(UriKind other) => ordinal - other.ordinal; |
+ int get hashCode => ordinal; |
String toString() => name; |
} |
/** |