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:
Konstantin Shcheglov 2017-04-06 10:26:23 -07:00
parent fe7baee848
commit b65cd81b45

View file

@ -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);