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

Unified Diff: tests/lib/mirrors/find_in_context_fake_function_test.dart

Issue 52953002: Hide ClosureMirror.findInContext behind a flag for 1.0. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 7 years, 2 months 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: tests/lib/mirrors/find_in_context_fake_function_test.dart
diff --git a/tests/lib/mirrors/find_in_context_fake_function_test.dart b/tests/lib/mirrors/find_in_context_fake_function_test.dart
index 5ccfaee44f7e6489992b8b993925dd7533e9bd0d..93aeeb8b8ffa79b8ecbaed0dad12209c21409e8a 100644
--- a/tests/lib/mirrors/find_in_context_fake_function_test.dart
+++ b/tests/lib/mirrors/find_in_context_fake_function_test.dart
@@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+// VMOptions=--support_find_in_context=true
+
// Regression test: this used to crash the VM.
library test.find_in_context_fake_function;
« no previous file with comments | « tests/lib/mirrors/closure_mirror_find_in_context_test.dart ('k') | tests/lib/mirrors/find_in_context_private_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698