Index: tests/compiler/dart2js/type_test_helper.dart |
diff --git a/tests/compiler/dart2js/type_test_helper.dart b/tests/compiler/dart2js/type_test_helper.dart |
index 4f6dcd183aaaab889a5d7b169ed7f2854f16679f..c67d0bafb7d924d55fbbee73c39dece394501467 100644 |
--- a/tests/compiler/dart2js/type_test_helper.dart |
+++ b/tests/compiler/dart2js/type_test_helper.dart |
@@ -8,6 +8,7 @@ import 'dart:async'; |
import 'package:expect/expect.dart'; |
import 'compiler_helper.dart' as mock; |
import 'memory_compiler.dart' as memory; |
+import 'package:compiler/src/commandline_options.dart'; |
import 'package:compiler/src/dart_types.dart'; |
import 'package:compiler/src/compiler.dart' |
show Compiler; |
@@ -65,7 +66,7 @@ class TypeEnvironment { |
memorySourceFiles: {'main.dart': source}, |
diagnosticHandler: collector, |
options: stopAfterTypeInference |
- ? [] : ['--analyze-all', '--analyze-only']); |
+ ? [] : [Flags.analyzeAll, Flags.analyzeOnly]); |
getErrors = () => collector.errors; |
getWarnings = () => collector.warnings; |
} |