Parser fail on errorRecovery
mode
#12074
Labels
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
pkg: parser
Bug Report
Current behavior
With
errorRecovery: true
parser didn't throw syntax errorInput Code
Expected behavior
Should throw a SyntaxError or continue parse.
Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)
N/A
Environment
Possible Solution
N/A
Additional context
Context: prettier/prettier#9226
The text was updated successfully, but these errors were encountered: