Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classes are allowed in modules even when classes feature flag is disabled #82

Closed
nzakas opened this issue Mar 7, 2015 · 1 comment
Closed
Labels

Comments

@nzakas
Copy link
Member

nzakas commented Mar 7, 2015

Right now, enabling ecmaFeatures.modules means that classes can be default exported:

export default class Foo {}

This should throw an error if ecmaFeatures.classes is false.

@nzakas nzakas added the bug label Mar 7, 2015
@nzakas
Copy link
Member Author

nzakas commented Mar 7, 2015

Working on this.

@nzakas nzakas closed this as completed in 66fa479 Mar 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant