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

Unified Diff: dart/tests/compiler/dart2js/static_closure_test.dart

Issue 103863004: Revert "Generate tear-off closures dynamically." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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: dart/tests/compiler/dart2js/static_closure_test.dart
diff --git a/dart/tests/compiler/dart2js/static_closure_test.dart b/dart/tests/compiler/dart2js/static_closure_test.dart
index 9581ac9b78b73af4800a7436125aca4265e1dc9a..d08c9f0d2e46998ccf5ccd75d036f51c8b928123 100644
--- a/dart/tests/compiler/dart2js/static_closure_test.dart
+++ b/dart/tests/compiler/dart2js/static_closure_test.dart
@@ -18,6 +18,6 @@ main() {
// If this test fail, please take a look at the use of
// toStringWrapper in captureStackTrace in js_helper.dart.
Expect.isTrue(code.contains(
- new RegExp(r'print\([$A-Z]+\.main\$closure\(\)\);')), code);
+ new RegExp(r'print\([$A-Z]+\.main\$closure\);')));
}));
}
« no previous file with comments | « dart/tests/compiler/dart2js/mirrors_used_test.dart ('k') | dart/tests/compiler/dart2js/types_of_captured_variables_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698