Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2881)

Unified Diff: runtime/lib/regexp_patch.dart

Issue 762683004: Another type error in regexp patch file. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/regexp_patch.dart
diff --git a/runtime/lib/regexp_patch.dart b/runtime/lib/regexp_patch.dart
index c31a7791ac10d205c8cf12f5b9eeda3b18cec13e..118b875d4bdacbd82bd80c7a69f84ec6eb59e928 100644
--- a/runtime/lib/regexp_patch.dart
+++ b/runtime/lib/regexp_patch.dart
@@ -47,7 +47,7 @@ patch class RegExp {
// TODO(zerny): Use self-sizing cache similar to _AccessorCache in
// mirrors_impl.dart.
static const int _MAX_CACHE_SIZE = 256;
- static final Map<_JSSyntaxRegExpHashKey, _JSSyntaxRegExp> _cache =
+ static final Map<_JSSyntaxRegExpHashKey, _JSSyntaxRegExpHashValue> _cache =
new HashMap<_JSSyntaxRegExpHashKey, _JSSyntaxRegExpHashValue>();
static final LinkedList<_JSSyntaxRegExpHashKey> _recentlyUsed =
new LinkedList<_JSSyntaxRegExpHashKey>();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698