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

Unified Diff: dart/frog/leg/lib/mockimpl.dart

Issue 9605009: Don't stringify unmatched groups and throw IllegalArgumentException for bad date strings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Mention co19 issue number. Created 8 years, 9 months 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 | dart/frog/leg/lib/regexp_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/leg/lib/mockimpl.dart
diff --git a/dart/frog/leg/lib/mockimpl.dart b/dart/frog/leg/lib/mockimpl.dart
index 556cb81a07dde5eaf21130d99d56f1664728b943..22d57617eb917165334c8ceb57c3f7aee6292345 100644
--- a/dart/frog/leg/lib/mockimpl.dart
+++ b/dart/frog/leg/lib/mockimpl.dart
@@ -78,7 +78,7 @@ class MatchImplementation implements Match {
int start() => _start;
int end() => _end;
- String group(int index) => stringify(_groups[index]);
+ String group(int index) => _groups[index];
String operator [](int index) => group(index);
int groupCount() => _groups.length - 1;
« no previous file with comments | « no previous file | dart/frog/leg/lib/regexp_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698