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

Unified Diff: pkg/analyzer/test/generated/parser_fasta_test.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/analyzer/test/generated/parser_fasta_test.dart
diff --git a/pkg/analyzer/test/generated/parser_fasta_test.dart b/pkg/analyzer/test/generated/parser_fasta_test.dart
index a36d49d9780da926834bd134ca605ab11c301e4f..8a2cbe406708860670d3cdd1c05f20e7ddd196c1 100644
--- a/pkg/analyzer/test/generated/parser_fasta_test.dart
+++ b/pkg/analyzer/test/generated/parser_fasta_test.dart
@@ -1037,11 +1037,12 @@ class ScopeProxy implements Scope {
@override
Scope createNestedScope({bool isModifiable: true}) {
- return new Scope(<String, Builder>{}, this, isModifiable: isModifiable);
+ return new Scope.nested(this, isModifiable: isModifiable);
}
@override
- Builder lookup(String name, int charOffset, Uri fileUri) =>
+ Builder lookup(String name, int charOffset, Uri fileUri,
+ {bool isInstanceScope: true}) =>
_locals.putIfAbsent(name, () => new BuilderProxy());
noSuchMethod(Invocation invocation) => super.noSuchMethod(invocation);
« no previous file with comments | « pkg/analyzer/lib/src/fasta/element_store.dart ('k') | pkg/front_end/lib/src/fasta/builder/class_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698