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

Unified Diff: pkg/analysis_server/lib/src/services/correction/assist_internal.dart

Issue 689793003: Rename ForEachStatement.iterator -> iterable. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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 | « no previous file | pkg/analyzer/lib/src/generated/ast.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/services/correction/assist_internal.dart
diff --git a/pkg/analysis_server/lib/src/services/correction/assist_internal.dart b/pkg/analysis_server/lib/src/services/correction/assist_internal.dart
index 11c06feed9d87aff1654a314b3ca94ea6163f7a3..381b7b7874808c568e7ed458a9901773737e8856 100644
--- a/pkg/analysis_server/lib/src/services/correction/assist_internal.dart
+++ b/pkg/analysis_server/lib/src/services/correction/assist_internal.dart
@@ -174,8 +174,8 @@ class AssistProcessor {
ForEachStatement forEach = node.getAncestor((n) => n is ForEachStatement);
int offset = node.offset;
if (forEach != null &&
- forEach.iterator != null &&
- offset < forEach.iterator.offset) {
+ forEach.iterable != null &&
+ offset < forEach.iterable.offset) {
declaredIdentifier = forEach.loopVariable;
}
}
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698