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

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: Created 6 years, 3 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/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 dfadfb2b3cef23fd32fb2ae2bfeec2939cfffc13..b20921c0b7eba0b63fc62d66cc114f8f93103731 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'],
+ options: ['--analyze-only',
+ '--enable-experimental-mirrors'],
cachedCompiler: cachedCompiler);
return compiler.run(Uri.parse('memory:main.dart')).then((_) {

Powered by Google App Engine
This is Rietveld 408576698