| Index: sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/lib/string_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
|
| index 1157f8936fc36ac2f25db32bf66d92c1be087346..f321fbb76b5a2d85ab36bd3c97fa04484626f9b4 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/lib/string_helper.dart
|
| @@ -65,7 +65,7 @@ stringContainsUnchecked(receiver, other, startIndex) {
|
| return other.hasMatch(receiver.substring(startIndex));
|
| } else {
|
| var substr = receiver.substring(startIndex);
|
| - return other.allMatches(substr).iterator.moveNext();
|
| + return other.allMatches(substr).isNotEmpty;
|
| }
|
| }
|
|
|
|
|