Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Unified Diff: pkg/analyzer/test/src/task/strong_mode_test.dart

Issue 2832893002: Issue 29398. Infer instance members using InheritanceManager of the ClassElement. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer/test/src/summary/top_level_inference_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/task/strong_mode_test.dart
diff --git a/pkg/analyzer/test/src/task/strong_mode_test.dart b/pkg/analyzer/test/src/task/strong_mode_test.dart
index 7f6ae6855a2b2168c396239992f1a0091cf723e1..6c5bda759965628616ba43335c53a57d9915316a 100644
--- a/pkg/analyzer/test/src/task/strong_mode_test.dart
+++ b/pkg/analyzer/test/src/task/strong_mode_test.dart
@@ -29,8 +29,9 @@ main() {
class InstanceMemberInferrerTest extends ResolverTestCase {
InstanceMemberInferrer createInferrer(LibraryElement library) {
AnalysisContext context = library.context;
+ var inheritanceManager = new InheritanceManager(library);
return new InstanceMemberInferrer(
- context.typeProvider, new InheritanceManager(library), new Set(),
+ context.typeProvider, (_) => inheritanceManager, new Set(),
typeSystem: context.typeSystem);
}
« no previous file with comments | « pkg/analyzer/test/src/summary/top_level_inference_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698