Index: tests/compiler/dart2js/semantic_visitor_test.dart |
diff --git a/tests/compiler/dart2js/semantic_visitor_test.dart b/tests/compiler/dart2js/semantic_visitor_test.dart |
index 37d83bb24b15753b6846fbdcd5787f88e168b469..575b758cecc5d9c0e1edbd836952de7dd837eb20 100644 |
--- a/tests/compiler/dart2js/semantic_visitor_test.dart |
+++ b/tests/compiler/dart2js/semantic_visitor_test.dart |
@@ -8,6 +8,7 @@ import 'dart:async'; |
import 'dart:mirrors'; |
import 'package:async_helper/async_helper.dart'; |
import 'package:expect/expect.dart'; |
+import 'package:compiler/src/commandline_options.dart'; |
import 'package:compiler/src/constants/expressions.dart'; |
import 'package:compiler/src/dart_types.dart'; |
import 'package:compiler/src/diagnostics/spannable.dart'; |
@@ -292,9 +293,7 @@ Future test(Set<VisitKind> unvisitedKinds, |
CompilationResult result = await runCompiler( |
memorySourceFiles: sourceFiles, |
- options: ['--analyze-all', |
- '--analyze-only', |
- '--enable-null-aware-operators']); |
+ options: [Flags.analyzeAll, Flags.analyzeOnly]); |
Compiler compiler = result.compiler; |
testMap.forEach((String filename, Test test) { |
LibraryElement library = compiler.libraryLoader.lookupLibrary( |