| Index: pkg/analyzer/test/src/task/strong/strong_test_helper.dart
|
| diff --git a/pkg/analyzer/test/src/task/strong/strong_test_helper.dart b/pkg/analyzer/test/src/task/strong/strong_test_helper.dart
|
| index 079bda1518f8da3182e65870ea038be7d8062b96..83cf9dac0594d4b7131825d2f721dfe1aba7b3c3 100644
|
| --- a/pkg/analyzer/test/src/task/strong/strong_test_helper.dart
|
| +++ b/pkg/analyzer/test/src/task/strong/strong_test_helper.dart
|
| @@ -54,7 +54,7 @@ void addFile(String content, {String name: '/main.dart'}) {
|
| /// the file text.
|
| ///
|
| /// Returns the main resolved library. This can be used for further checks.
|
| -CompilationUnit check() {
|
| +CompilationUnit check({bool implicitCasts: true}) {
|
| _checkCalled = true;
|
|
|
| expect(files.getFile('/main.dart').exists, true,
|
| @@ -66,6 +66,7 @@ CompilationUnit check() {
|
| AnalysisOptionsImpl options = context.analysisOptions as AnalysisOptionsImpl;
|
| options.strongMode = true;
|
| options.strongModeHints = true;
|
| + options.implicitCasts = implicitCasts;
|
| var mockSdk = new MockSdk();
|
| mockSdk.context.analysisOptions.strongMode = true;
|
| context.sourceFactory =
|
|
|