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

Unified Diff: compiler/lib/implementation/regexp.dart

Issue 8321024: Clean up (most) uses of Array. Still more to come in the VM corelib code base. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 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 | « compiler/lib/implementation/isolate.js ('k') | compiler/lib/implementation/string.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/lib/implementation/regexp.dart
===================================================================
--- compiler/lib/implementation/regexp.dart (revision 486)
+++ compiler/lib/implementation/regexp.dart (working copy)
@@ -42,8 +42,8 @@
return this.group(group);
}
- Array<String> groups(Array<int> groups) {
- Array<String> strings = new Array<String>();
+ List<String> groups(List<int> groups) {
+ List<String> strings = new List<String>();
groups.forEach((int group) {
strings.add(this.group(group));
});
@@ -76,7 +76,7 @@
}
Collection<Match> filter(bool f(Match match)) {
- Array<Match> result = new Array<Match>();
+ List<Match> result = new List<Match>();
for (Match match in this) {
if (f(match)) result.add(match);
}
« no previous file with comments | « compiler/lib/implementation/isolate.js ('k') | compiler/lib/implementation/string.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698