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

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

Issue 2329463003: Remove unused instance field (Closed)
Patch Set: Created 4 years, 3 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
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 3c9c426c709f019db5c771bf8706b6c499c56425..91cc75586d44168cd4692536fdcd9bd54e21cc80 100644
--- a/pkg/analyzer/lib/src/task/dart.dart
+++ b/pkg/analyzer/lib/src/task/dart.dart
@@ -3674,8 +3674,8 @@ class InferStaticVariableTypeTask extends InferStaticVariableTask {
//
RecordingErrorListener errorListener = new RecordingErrorListener();
Expression initializer = declaration.initializer;
- ResolutionContext resolutionContext = ResolutionContextBuilder.contextFor(
- initializer, AnalysisErrorListener.NULL_LISTENER);
+ ResolutionContext resolutionContext =
+ ResolutionContextBuilder.contextFor(initializer);
ResolverVisitor visitor = new ResolverVisitor(
variable.library, variable.source, typeProvider, errorListener,
nameScope: resolutionContext.scope);

Powered by Google App Engine
This is Rietveld 408576698