| Index: pkg/analyzer/lib/src/task/dart.dart
|
| diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart
|
| index b492bb27099edb2fab00b89fc1417c2ded4233c1..de066515d9dad06cb56bedda40f63bf4728355c3 100644
|
| --- a/pkg/analyzer/lib/src/task/dart.dart
|
| +++ b/pkg/analyzer/lib/src/task/dart.dart
|
| @@ -5113,9 +5113,11 @@ class StrongModeVerifyUnitTask extends SourceBasedAnalysisTask {
|
| //
|
| TypeProvider typeProvider = getRequiredInput(TYPE_PROVIDER_INPUT);
|
| CompilationUnit unit = getRequiredInput(UNIT_INPUT);
|
| - if (context.analysisOptions.strongMode) {
|
| + AnalysisOptionsImpl options = context.analysisOptions;
|
| + if (options.strongMode) {
|
| unit.accept(new CodeChecker(
|
| - typeProvider, new StrongTypeSystemImpl(), errorListener));
|
| + typeProvider, new StrongTypeSystemImpl(), errorListener,
|
| + hints: options.strongModeHints));
|
| }
|
| //
|
| // Record outputs.
|
|
|