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

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

Issue 588183002: Emit warning on import of dart:mirrors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Optimize and limit import chain processing Created 6 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
Index: tests/compiler/dart2js/message_kind_helper.dart
diff --git a/tests/compiler/dart2js/message_kind_helper.dart b/tests/compiler/dart2js/message_kind_helper.dart
index 67f1d60bb057fbe4aec4c1a1d09073753f470dde..22589354f6a59aeab2d5ddd53f480c818971b4b7 100644
--- a/tests/compiler/dart2js/message_kind_helper.dart
+++ b/tests/compiler/dart2js/message_kind_helper.dart
@@ -83,7 +83,8 @@ Future<Compiler> check(MessageKind kind, Compiler cachedCompiler) {
Compiler compiler = compilerFor(
example,
diagnosticHandler: collect,
- options: ['--analyze-only']..addAll(kind.options),
+ options: ['--analyze-only',
+ '--enable-experimental-mirrors']..addAll(kind.options),
cachedCompiler: cachedCompiler);
return compiler.run(Uri.parse('memory:main.dart')).then((_) {

Powered by Google App Engine
This is Rietveld 408576698