Index: runtime/lib/symbol_patch.dart |
diff --git a/runtime/lib/symbol_patch.dart b/runtime/lib/symbol_patch.dart |
index fdb652746271d10a1b826814dc0953c5e2d4c8c7..1a1b2bcde7f654a1dcd94a6f50b8903775dacc52 100644 |
--- a/runtime/lib/symbol_patch.dart |
+++ b/runtime/lib/symbol_patch.dart |
@@ -51,4 +51,9 @@ patch class Symbol { |
} |
return result.toString(); |
} |
+ |
+ /* patch */ int get hashCode { |
+ const arbitraryPrime = 664597; |
+ return 0x1fffffff & (arbitraryPrime * _name.hashCode); |
+ } |
} |