-
Notifications
You must be signed in to change notification settings - Fork 28
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
Support for...of array iteration #421
Comments
Got interested in this because we had some similar issues with js. Seems that the default js version in our interpreter is ancient and stuff like this goes away when it's changed to ES6. Pushed directly to develop with this change for v1.0 expressions. |
Oh great! Thanks. |
v1.0.4-5 is ES56 but i'm still getting the error, is this expected? |
Seems like rhino doesn't support all ES6 features http://mozilla.github.io/rhino/compat/engines.html When we switch to nashorn it might work |
Ah, good to know thanks @milos-ljubinkovic |
I've checked and |
FYI: CWL v1.0 expressions are ECMAScript 5.1 only, not ES6. https://www.commonwl.org/v1.0/CommandLineTool.html#Expressions |
Could we support javascript for/of loops like:
Currently we get exception:
The text was updated successfully, but these errors were encountered: