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

Unified Diff: pkg/front_end/lib/src/fasta/builder/procedure_builder.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
Index: pkg/front_end/lib/src/fasta/builder/procedure_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/procedure_builder.dart b/pkg/front_end/lib/src/fasta/builder/procedure_builder.dart
index eef79154e907565eb7e07f28f57c9c5187e37c0e..446ed241ed96d2a8aa04bba0daee99a4b3511835 100644
--- a/pkg/front_end/lib/src/fasta/builder/procedure_builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/procedure_builder.dart
@@ -72,7 +72,7 @@ abstract class ProcedureBuilder<T extends TypeBuilder> extends MemberBuilder {
local[formal.name] = formal;
}
}
- return new Scope(local, parent, isModifiable: false);
+ return new Scope(local, null, parent, isModifiable: false);
}
/// This scope doesn't correspond to any scope specified in the Dart
@@ -84,6 +84,6 @@ abstract class ProcedureBuilder<T extends TypeBuilder> extends MemberBuilder {
for (TypeVariableBuilder variable in typeVariables) {
local[variable.name] = variable;
}
- return new Scope(local, parent, isModifiable: false);
+ return new Scope(local, null, parent, isModifiable: false);
}
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/prefix_builder.dart ('k') | pkg/front_end/lib/src/fasta/dill/dill_class_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698