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

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

Issue 8966029: Report errors and warnings for hiding elements, issue 572. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for comments Created 9 years 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/regexp.dart ('k') | corelib/src/implementation/dual_pivot_quicksort.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiler/lib/implementation/string.dart
diff --git a/compiler/lib/implementation/string.dart b/compiler/lib/implementation/string.dart
index d227e8803b1cec2db5bfd22a30129c85e60568cd..14bd63ff91aa11ed31c36b43d834ec10a9b27773 100644
--- a/compiler/lib/implementation/string.dart
+++ b/compiler/lib/implementation/string.dart
@@ -214,16 +214,16 @@ class _StringMatch implements Match {
String operator[](int g) => group(g);
int groupCount() => 0;
- String group(int group) {
- if (group != 0) {
- throw new IndexOutOfRangeException(group);
+ String group(int group_) {
+ if (group_ != 0) {
+ throw new IndexOutOfRangeException(group_);
}
return pattern;
}
- List<String> groups(List<int> groups) {
+ List<String> groups(List<int> groups_) {
List<String> result = new List<String>();
- for (int g in groups) {
+ for (int g in groups_) {
result.add(group(g));
}
return result;
« no previous file with comments | « compiler/lib/implementation/regexp.dart ('k') | corelib/src/implementation/dual_pivot_quicksort.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698