mirror of
https://github.com/dart-lang/sdk
synced 2024-09-21 07:31:32 +00:00
Use modifiable top-level scope for Fasta parser in file_state.
R=paulberry@google.com BUG= Review-Url: https://codereview.chromium.org/2798183002 .
This commit is contained in:
parent
fe7baee848
commit
b65cd81b45
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue