@babel/generator comment deduplication removes too many comments #12769
Labels
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
pkg: generator
Bug Report
Input Code
Expected behavior
Current behavior
Environment
Possible Solution
Additional context
I was surprised that there are cases where comment exists twice (as leading and trailing), e.g.
. Looks like babel-generators "workaround" for this isn't quite right.
Distantly related to parcel-bundler/parcel#5787
The text was updated successfully, but these errors were encountered: