-
Notifications
You must be signed in to change notification settings - Fork 951
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
Cannot parse simple js code... #323
Comments
Hmm, no any comments ? I made workaround to this code to make it parseable:
i made this:
But problem is I have lot of such constructions in the code: for example this code also cannot be parsed:
|
In many situations i even don't know how to make proper workaround:
Don't think this code will work the same way:
|
@davesnx destructuring is supported in quickjs, but there seems to be a bug in the specific case posted by @Honya2000 . I shall take a look shortly. Sorry for the lag. |
Hello,
Today I first tried this JS runtime, but unfortunately cannot parse simple js code:
Code looks like this:
it throws runtime error here:
line 24406 of quickjs.c in function
js_parse_destructuring_element
. Becauselabel_lvalue
is uninitialized.during parsing of this js line:
Is this construction is not supported by runtime ?
The text was updated successfully, but these errors were encountered: