You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to run JSCover on a large JavaScript file I get an error in the browser developer console:
Uncaught SyntaxError: Unexpected token -
Here is the relevant block of code that JSCover generated, note the offending line that tries to create a JavaScript function with the (invalid) name visit8876_-1_1
I can still see errors when instrumenting the compressed JS file, but they don't occur after formatting it with IntelliJ. You might want to try that before re-running to progress further. I think the errors occurring with the compressed source are due to Rhino, and might take some time to resolve.
If you could help isolate the problem with a smaller code example, that would help a lot.
When trying to run JSCover on a large JavaScript file I get an error in the browser developer console:
Here is the relevant block of code that JSCover generated, note the offending line that tries to create a JavaScript function with the (invalid) name
visit8876_-1_1
If you would like to see this error for yourself, here is a link to the HTML page containing the JavaScript that triggers this bug: https://bitc.github.io/tojs-benchmark/particles-ghcjs/index.min.html?barriers=l5&particles=500
The text was updated successfully, but these errors were encountered: