Skip to content
This repository was archived by the owner on Aug 4, 2021. It is now read-only.

Fixed attachScopes so that object rest syntax works - #37

Merged
lukastaegert merged 1 commit into
rollup:masterfrom
Jamesernator:master
Aug 6, 2018
Merged

Fixed attachScopes so that object rest syntax works#37
lukastaegert merged 1 commit into
rollup:masterfrom
Jamesernator:master

Conversation

@Jamesernator

Copy link
Copy Markdown
Contributor

As of ECMAScript 2018 object rest spread was added (e.g. const { x, y, ...rest } = object), however when attachScopes received an AST with a RestElement node in an object pattern it threw an error. So I fixed it.

@lukastaegert lukastaegert left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks a lot!

@lukastaegert
lukastaegert merged commit f26abb8 into rollup:master Aug 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants