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 f84fdeef55f438af7eca1bf7ed060deb09db2982..3a35778c677a431b508c26c8ed97d583c9c8b487 100644 |
--- a/lib/compiler/implementation/lib/string_helper.dart |
+++ b/lib/compiler/implementation/lib/string_helper.dart |
@@ -13,7 +13,7 @@ class StringMatch implements Match { |
String group(int group_) { |
if (group_ != 0) { |
- throw new IndexOutOfRangeException(group_); |
+ throw new RangeError.value(group_); |
} |
return pattern; |
} |