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

Unified Diff: pkg/unittest/lib/html_layout_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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/intl/lib/src/date_format_helpers.dart ('k') | pkg/unittest/lib/interactive_html_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/html_layout_config.dart
diff --git a/pkg/unittest/lib/html_layout_config.dart b/pkg/unittest/lib/html_layout_config.dart
index 1e56248fdb1e512386c3cfdb166532432b5dc292..a452e7934ea697b1bdba217481f8a0e78a898cc0 100644
--- a/pkg/unittest/lib/html_layout_config.dart
+++ b/pkg/unittest/lib/html_layout_config.dart
@@ -40,7 +40,7 @@ class _Message {
_Message.fromString(String msg) {
// The format of a message is '<type> <elapsedTime> <body>'.
// If we don't get a type we default to a 'log' type.
- var messageParser = const RegExp('\([a-z]*\) \([0-9]*\) \(.*\)');
+ var messageParser = new RegExp('\([a-z]*\) \([0-9]*\) \(.*\)');
Match match = messageParser.firstMatch(msg);
if (match == null) {
messageType = 'log';
« no previous file with comments | « pkg/intl/lib/src/date_format_helpers.dart ('k') | pkg/unittest/lib/interactive_html_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698