Cleanup destructuring-related error reporting in ParserBase
Several minor cleanups to error handling in expression parsing: - Remove duplication of binding and assignment error reporting. - RecordBindingPatternError calls are changed to shorter BindingPatternUnexpectedToken calls where possible. - No-op error recording calls are removed. Review URL: https://codereview.chromium.org/1688833004 Cr-Commit-Position: refs/heads/master@{#33915}
Showing
Please
register
or
sign in
to comment