Index: pkg/analyzer/test/src/task/strong/inferred_type_test.dart |
diff --git a/pkg/analyzer/test/src/task/strong/inferred_type_test.dart b/pkg/analyzer/test/src/task/strong/inferred_type_test.dart |
index 7a66f67f6f3cf2e2d61484a3ed8d9466bfe31788..329b0b9ab4f12012e7765bde99927793b332fa08 100644 |
--- a/pkg/analyzer/test/src/task/strong/inferred_type_test.dart |
+++ b/pkg/analyzer/test/src/task/strong/inferred_type_test.dart |
@@ -8,6 +8,7 @@ import 'dart:async'; |
import 'package:analyzer/dart/ast/ast.dart'; |
import 'package:analyzer/dart/element/element.dart'; |
+import 'package:analyzer/src/generated/engine.dart'; |
import 'package:test/test.dart'; |
import 'package:test_reflective_loader/test_reflective_loader.dart'; |
@@ -39,7 +40,12 @@ abstract class InferredTypeMixin { |
* Add the file, process it (resolve, validate, etc) and return the resolved |
* unit. |
*/ |
- Future<CompilationUnit> checkFile(String content); |
+ Future<CompilationUnit> checkFile(String content, |
+ {bool declarationCasts: true, |
+ bool implicitCasts: true, |
+ bool implicitDynamic: true, |
+ List<String> nonnullableTypes: AnalysisOptionsImpl.NONNULLABLE_TYPES, |
+ bool superMixins: false}); |
/** |
* Add the file, process it (resolve, validate, etc) and return the resolved |