Parser throws undefined
when parsing HTML-Like comment
#11769
Labels
i: bug
i: regression
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
Bug Report
Properly not
Current behavior
When parsing HTML-Like comment with
sourceType: 'module'
, the@babel/parser
throwsundefined
.Input Code
Expected behavior
Should throw an error.
Babel Configuration (babel.config.js, .babelrc, package.json#babel, cli command, .eslintrc)
NaN
Environment
Possible Solution
NaN
Additional context
PR on Prettier project prettier/prettier#8688
CI Log https://github.com/prettier/prettier/runs/825234580?check_suite_focus=true#step:7:1200
The text was updated successfully, but these errors were encountered: