Chromium Code Reviews

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

Issue 11369210: Make RegExp constructor non-const. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean up status files. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « pkg/unittest/lib/html_layout_config.dart ('k') | pkg/unittest/lib/src/config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7cc2a04384c2902b9b2bc191a978a934f7f2e212 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 final _notAlphaNumeric = new RegExp('[^a-z0-9A-Z]');
String _stringToDomId(String s) {
if (s.length == 0) {
« no previous file with comments | « pkg/unittest/lib/html_layout_config.dart ('k') | pkg/unittest/lib/src/config.dart » ('j') | no next file with comments »

Powered by Google App Engine