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
thread 'main' panicked at 'Can't downcast ErrBox(SwcDiagnosticBuffer { diagnostics: ["Unexpected token Some(Word(get)) at memory://main.js:6:9"] }) to OpError', cli/op_error.rs:423:9
Also, if you have a recommendation for a third party module that might be able to pre-parse code to filter out cases like these I'd be happy to hear about it.
The text was updated successfully, but these errors were encountered:
Hi, thanks for working on a previous issue #6747. I found another case that you may want to have a look at.
Again, I know the code being submitted to the compiler is invalid; however, I want Deno to tell me that instead of panicing.
Thanks!
Deno version:
Example code:
Attempted compile with:
$ deno run --unstable foo.js
thread 'main' panicked at 'Can't downcast ErrBox(SwcDiagnosticBuffer { diagnostics: ["Unexpected token Some(Word(get)) at memory://main.js:6:9"] }) to OpError', cli/op_error.rs:423:9
Also, if you have a recommendation for a third party module that might be able to pre-parse code to filter out cases like these I'd be happy to hear about it.
The text was updated successfully, but these errors were encountered: