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

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

Issue 2788913002: Prepare for separate setter scope. (Closed)
Patch Set: Address comments. 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 | « no previous file | pkg/analyzer/lib/src/fasta/element_store.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/fasta/analyzer.dart
diff --git a/pkg/analyzer/lib/src/fasta/analyzer.dart b/pkg/analyzer/lib/src/fasta/analyzer.dart
index b71e6575d89a46fc1292625524496b4bb4024e07..4f4f8ea44e11c8229e947204cca3cfabbd239c0c 100644
--- a/pkg/analyzer/lib/src/fasta/analyzer.dart
+++ b/pkg/analyzer/lib/src/fasta/analyzer.dart
@@ -25,7 +25,7 @@ export 'element_store.dart' show ElementStore;
TreeNode toKernel(
AstNode node, ElementStore store, Library library, Scope scope) {
ExpressionScope expressionScope = new ExpressionScope(store, library);
- scope.local.forEach((String name, Builder builder) {
+ scope.forEach((String name, Builder builder) {
if (builder is KernelFormalParameterBuilder) {
LocalElement local = store[builder];
assert(local != null);
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/fasta/element_store.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698