Skip to content
This repository was archived by the owner on May 19, 2018. It is now read-only.

Duplicate named exports should be a syntax error #69

Closed
kaicataldo opened this issue Jul 7, 2016 · 2 comments
Closed

Duplicate named exports should be a syntax error #69

kaicataldo opened this issue Jul 7, 2016 · 2 comments
Labels

Comments

@kaicataldo
Copy link
Member

kaicataldo commented Jul 7, 2016

Babylon currently will parse multiple exports of the same name, though this should actually be a syntax error.

Here's the relevant portion of the spec and related Babel issue.

I'd love to take a look at and work on this! I currently have an open PR to the main Babel repo (where it was suggested that this change probably belongs in Babylon) with the modified tests. If/once this proposed change lands, I can update that PR to bump the Babylon version and fix the tests accordingly.

@danez danez added the i: bug label Jul 7, 2016
@kaicataldo
Copy link
Member Author

Working on this!

kaicataldo pushed a commit to kaicataldo/babylon that referenced this issue Sep 5, 2016
@kaicataldo
Copy link
Member Author

Sorry for the delay - finally got around to this: #107

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants