Skip to content

[parser] Don't crash on comment after trailing comma after elision#10490

Merged
nicolo-ribaudo merged 1 commit intobabel:masterfrom
nicolo-ribaudo:issue-10488
Sep 24, 2019
Merged

[parser] Don't crash on comment after trailing comma after elision#10490
nicolo-ribaudo merged 1 commit intobabel:masterfrom
nicolo-ribaudo:issue-10488

Conversation

@nicolo-ribaudo
Copy link
Copy Markdown
Member

Q                       A
Fixed Issues? Fixes #10488
Patch: Bug Fix? Yes
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

@nicolo-ribaudo nicolo-ribaudo added PR: Bug Fix 🐛 A type of pull request used for our changelog categories pkg: parser i: regression labels Sep 24, 2019
@babel-bot
Copy link
Copy Markdown
Collaborator

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/11683/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

i: regression outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: parser PR: Bug Fix 🐛 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot set property 'trailingComments' of null when parsing destructuring array assignment with two trailing comments right next to each other

4 participants