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

Unified Diff: pkg/analyzer/lib/src/dart/analysis/file_state.dart

Issue 2798183002: Use modifiable top-level scope for Fasta parser in file_state. (Closed)
Patch Set: 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/dart/analysis/file_state.dart
diff --git a/pkg/analyzer/lib/src/dart/analysis/file_state.dart b/pkg/analyzer/lib/src/dart/analysis/file_state.dart
index b1dc47445a9add3403d2e5cf152b44d96bfacafe..acca51444046871ee54c34084d1f6a24b223deb1 100644
--- a/pkg/analyzer/lib/src/dart/analysis/file_state.dart
+++ b/pkg/analyzer/lib/src/dart/analysis/file_state.dart
@@ -364,7 +364,7 @@ class FileState {
null,
null,
new _FastaElementStoreProxy(),
- null,
+ new fasta.Scope.top(isModifiable: true),
uri);
var parser = new fasta.Parser(astBuilder);
parser.parseUnit(scanResult.tokens);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698