| Index: lib/compiler/implementation/lib/string_helper.dart
|
| diff --git a/lib/compiler/implementation/lib/string_helper.dart b/lib/compiler/implementation/lib/string_helper.dart
|
| index 9eb839435d13bad5ba2e22fc42063386d39da6de..bb0d63b1e3ff57b7312b511ddbe6d773b211290a 100644
|
| --- a/lib/compiler/implementation/lib/string_helper.dart
|
| +++ b/lib/compiler/implementation/lib/string_helper.dart
|
| @@ -14,7 +14,7 @@ class StringMatch implements Match {
|
|
|
| String group(int group_) {
|
| if (group_ != 0) {
|
| - throw new IndexOutOfRangeException(group_);
|
| + throw new RangeError(group_);
|
| }
|
| return pattern;
|
| }
|
|
|