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

More ECMAScript 2015 errors #22

Open
bugs181 opened this issue Mar 19, 2016 · 0 comments
Open

More ECMAScript 2015 errors #22

bugs181 opened this issue Mar 19, 2016 · 0 comments

Comments

@bugs181
Copy link

bugs181 commented Mar 19, 2016

String Interpolation:

console.log(`Status: ${status}`)

Result:

$ node-theseus test
exception during parsing ..../test.js Error: Line 6: Unexpected token ILLEGAL
    at throwError (/usr/local/lib/node_modules/node-theseus/node_modules/fondue/node_modules/falafel/node_modules/esprima/esprima.js:1161:21)
    at advance (/usr/local/lib/node_modules/node-theseus/node_modules/fondue/node_modules/falafel/node_modules/esprima/esprima.js:1089:9)

**Arrow functions:**
setTimeout(_ => { }, 2000)

Result:

$ node-theseus test
exception during parsing ..../test.js Error: Line 12: Unexpected token >
    at throwError (/usr/local/lib/node_modules/node-theseus/node_modules/fondue/node_modules/falafel/node_modules/esprima/esprima.js:1156:21)
    at throwUnexpected (/usr/local/lib/node_modules/node-theseus/node_modules/fondue/node_modules/falafel/node_modules/esprima/esprima.js:1213:9)
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