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

Forced strict mode #9

Open
eush77 opened this issue Oct 7, 2015 · 0 comments
Open

Forced strict mode #9

eush77 opened this issue Oct 7, 2015 · 0 comments

Comments

@eush77
Copy link
Owner

eush77 commented Oct 7, 2015

ES6 module code is always strict (see 10.2.1), and much passes sourceType: 'module' setting to acorn.

This leads to errors when the code is taking advantage of non-strict features:

$ much v8-earley-boyer.js
SyntaxError: Octal literal in strict mode (1076:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant