-
Notifications
You must be signed in to change notification settings - Fork 119
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
Destructuring assignment syntax support #161
Comments
@msridhar thanks for the suggestion. Indeed we are also trying to use Babel for ECMAScript 2015 features. But given the complexity of our applications, that might not be the solution at the end. Apart from that, we didn't expect unhandled exceptions in Jalangi2 due to lack of support for a feature. We have noticed that the In general, I think it would make sense to make sure the unsupported features don't get instrumented and the code runs correctly. |
In |
Unhandled exception from array destructuring assignment
Destructuring assignment syntax is not supported and results in an exception in version v0.2.6. This results in the instrumentor to crash and not produce any outputs.
Stack trace:
Invalid code generated from object destructuring assignment
Another issue with destructuring assignment where it does not throw an exception but outputs syntactically invalid code:
which is transformed into something in the likes of the following:
This, when run, results in a syntax error at line 2:
Uncaught SyntaxError: Unexpected token '.'
The text was updated successfully, but these errors were encountered: