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

Unified Diff: pkg/analyzer/lib/src/task/strong_mode.dart

Issue 2626043002: Do not refer to initializing parameters in initializer lists. (Closed)
Patch Set: Created 3 years, 11 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/lib/src/generated/constant.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/task/strong_mode.dart
diff --git a/pkg/analyzer/lib/src/task/strong_mode.dart b/pkg/analyzer/lib/src/task/strong_mode.dart
index d60460e63f319fa63c773b13bcc282f0c34d7848..c5b6badf091a85d6a21c4cf309817c6559bac1b6 100644
--- a/pkg/analyzer/lib/src/task/strong_mode.dart
+++ b/pkg/analyzer/lib/src/task/strong_mode.dart
@@ -79,11 +79,12 @@ class InstanceMemberInferrer {
/**
* Initialize a newly create inferrer.
*/
- InstanceMemberInferrer(this.typeProvider, this.inheritanceManager,
+ InstanceMemberInferrer(TypeProvider typeProvider, this.inheritanceManager,
{TypeSystem typeSystem})
: typeSystem = (typeSystem != null)
? typeSystem
- : new TypeSystemImpl(typeProvider);
+ : new TypeSystemImpl(typeProvider),
+ this.typeProvider = typeProvider;
/**
* Infer type information for all of the instance members in the given
« no previous file with comments | « pkg/analyzer/lib/src/generated/constant.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698