Index: tests/compiler/dart2js/frontend_checker.dart |
diff --git a/tests/compiler/dart2js/frontend_checker.dart b/tests/compiler/dart2js/frontend_checker.dart |
index 67b88d33e9e52488af188986453b9124e3c7fb78..8624cfef08639b874143b0af5461980fbab12de7 100644 |
--- a/tests/compiler/dart2js/frontend_checker.dart |
+++ b/tests/compiler/dart2js/frontend_checker.dart |
@@ -9,6 +9,7 @@ import 'dart:async'; |
import 'dart:io'; |
import 'package:async_helper/async_helper.dart'; |
+import 'package:compiler/src/commandline_options.dart'; |
import 'package:compiler/src/util/uri_extras.dart' |
show relativize; |
import 'memory_compiler.dart'; |
@@ -49,7 +50,7 @@ void check(Map<String, List<String>> testFiles, |
entryPoint: Uri.parse('memory:$testFileName'), |
memorySourceFiles: {testFileName: testSources[testName]}, |
diagnosticHandler: collector, |
- options: ['--analyze-only']..addAll(options), |
+ options: [Flags.analyzeOnly]..addAll(options), |
showDiagnostics: verbose, |
cachedCompiler: cachedCompiler); |
var compiler = result.compiler; |