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((_) { |