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

Minification error on del[] #858

Open
chopin opened this issue Jul 17, 2023 · 1 comment
Open

Minification error on del[] #858

chopin opened this issue Jul 17, 2023 · 1 comment

Comments

@chopin
Copy link

chopin commented Jul 17, 2023

Hi again.

I encountered an error during minification when running Transcrypt without -n option. Following is the corresponding source line:

del handlers[id(xmlHttp)]

Following is the error message:

network.pyjamasHTTPRequest.pretty.js:299: ERROR - Parse error. Invalid delete operand. Only properties can be deleted.
                delete __k__ (handlers, id (xmlHttp));
^

This error is not raised when running Transcrypt with -n (nominification) option.

Thanks.

@chopin
Copy link
Author

chopin commented Jul 17, 2023

I am not able to use minification because of this error. I hope that this bug is fixed so that I can use minification. Thanks.

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