| 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 e0bbefa1386ff95beb0af121dd6cf173b87764dc..82829eb52bd8782f0d3bc0d60db7a3620e3454ce 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({bool implicitCasts: true}) {
|
| +CompilationUnit check({bool implicitCasts: true, bool implicitDynamic: true}) {
|
| _checkCalled = true;
|
|
|
| expect(files.getFile('/main.dart').exists, true,
|
| @@ -67,6 +67,7 @@ CompilationUnit check({bool implicitCasts: true}) {
|
| options.strongMode = true;
|
| options.strongModeHints = true;
|
| options.implicitCasts = implicitCasts;
|
| + options.implicitDynamic = implicitDynamic;
|
| var mockSdk = new MockSdk();
|
| mockSdk.context.analysisOptions.strongMode = true;
|
| context.sourceFactory =
|
|
|