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 1f11c3dfeea50b88683df22566d3312297b32fd8..751ef5370a35685345ccad1cf401ab558210fa69 100644 |
--- a/pkg/analyzer/lib/src/task/dart.dart |
+++ b/pkg/analyzer/lib/src/task/dart.dart |
@@ -2906,7 +2906,8 @@ class InferInstanceMembersInUnitTask extends SourceBasedAnalysisTask { |
// Infer instance members. |
// |
if (context.analysisOptions.strongMode) { |
- InstanceMemberInferrer inferrer = new InstanceMemberInferrer(typeProvider, |
+ InstanceMemberInferrer inferrer = new InstanceMemberInferrer( |
+ typeProvider, new InheritanceManager(unit.element.library), |
typeSystem: context.typeSystem); |
inferrer.inferCompilationUnit(unit.element); |
} |