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

Unified Diff: tests/compiler/dart2js/type_inference5_test.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 | « tests/compiler/dart2js/type_guard_unuser_test.dart ('k') | tests/compiler/dart2js/type_inference_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_inference5_test.dart
diff --git a/tests/compiler/dart2js/type_inference5_test.dart b/tests/compiler/dart2js/type_inference5_test.dart
index 2a88b59c1962dc4720f662a29a3a174ad468d961..1d9af41a5cb4cb9d329eb06c3dc9dffdc66cf50c 100644
--- a/tests/compiler/dart2js/type_inference5_test.dart
+++ b/tests/compiler/dart2js/type_inference5_test.dart
@@ -22,7 +22,7 @@ main() {
// Also make sure that we are not just in bailout mode without speculative
// types by grepping for the integer-bailout check on argument j.
var argname =
- const RegExp(r'function(?: [a-z]+)?\(([a-zA-Z0-9_]+)\)').firstMatch(generated)[1];
+ new RegExp(r'function(?: [a-z]+)?\(([a-zA-Z0-9_]+)\)').firstMatch(generated)[1];
print(argname);
RegExp regexp = new RegExp(getIntTypeCheck(argname));
Expect.isTrue(regexp.hasMatch(generated));
« no previous file with comments | « tests/compiler/dart2js/type_guard_unuser_test.dart ('k') | tests/compiler/dart2js/type_inference_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698