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

Unified Diff: pkg/unittest/lib/interactive_html_config.dart

Issue 11410033: Make RegExp's 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: pkg/unittest/lib/interactive_html_config.dart
diff --git a/pkg/unittest/lib/interactive_html_config.dart b/pkg/unittest/lib/interactive_html_config.dart
index 3ff750abc596a104a987c60eb155ce19199a33e0..54a58f92519a06f4c1b6776db109e17edfa8496f 100644
--- a/pkg/unittest/lib/interactive_html_config.dart
+++ b/pkg/unittest/lib/interactive_html_config.dart
@@ -258,7 +258,7 @@ class ParentInteractiveHtmlConfiguration extends HtmlConfiguration {
window.on.message.add(_messageHandler);
}
- static const _notAlphaNumeric = const RegExp('[^a-z0-9A-Z]');
+ static const _notAlphaNumeric = new RegExp('[^a-z0-9A-Z]');
String _stringToDomId(String s) {
if (s.length == 0) {

Powered by Google App Engine
This is Rietveld 408576698