Transcrypt icon indicating copy to clipboard operation
Transcrypt copied to clipboard

Minification error on del[]

Open chopin opened this issue 2 years ago • 1 comments

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 avatar Jul 17 '23 07:07 chopin

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.

chopin avatar Jul 17 '23 07:07 chopin