c9aa87bf26
The parser was still WIP and was emitting an extra error, so this CL removes that error so tests can start passing and so I can properly test the new implementation e2e. It still needs some fixes after the analyzer implementation is complete. The current extra synthetic tokens added in the parser are temporary to prevent crashes on the analyzer side when the experiment flag is turned off. But it works fine for now, and I'll clean it up in a CL when the feature is complete. Bug: https://github.com/dart-lang/sdk/issues/59758 Change-Id: I83d8c840f66bedff4aa27a737a3f57e77d3973b8 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/412344 Reviewed-by: Paul Berry <paulberry@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Kallen Tu <kallentu@google.com>