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

Unified Diff: sdk/lib/coreimpl/regexp.dart

Issue 11369210: Make RegExp constructor non-const. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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
Index: sdk/lib/coreimpl/regexp.dart
diff --git a/sdk/lib/coreimpl/regexp.dart b/sdk/lib/coreimpl/regexp.dart
index b7076311f31afeffbca66a6570cf538bb68d9552..845a26e38b83aa34dfdd35398e79003c3c727bb4 100644
--- a/sdk/lib/coreimpl/regexp.dart
+++ b/sdk/lib/coreimpl/regexp.dart
@@ -3,9 +3,9 @@
// BSD-style license that can be found in the LICENSE file.
class JSSyntaxRegExp implements RegExp {
- external const JSSyntaxRegExp(String pattern,
- {bool multiLine: false,
- bool ignoreCase: false});
+ external JSSyntaxRegExp(String pattern,
+ {bool multiLine: false,
+ bool ignoreCase: false});
external Match firstMatch(String str);
external Iterable<Match> allMatches(String str);
external bool hasMatch(String str);

Powered by Google App Engine
This is Rietveld 408576698