Open rbtcollins opened 4 years ago
Thanks for the report, and sorry for the delay in getting to this!
I unfortunately won't have a chance to look at this in the near future, but I suspect that this isn't playing well with the js_sys::Error
type. It's probably best to rename enum Error
for now, but this probably isn't the hardest thing to handle after some investigation into the CLI!
Describe the Bug
an Enum called Error casses an assertion in wasm-bindgen
Steps to Reproduce
I haven't done a minimal reproduction yet, but commenting out the following enum in my source fixed the assertion...
If applicable, add a link to a test case (as a zip file or link to a repository we can clone).
Expected Behavior
No assertion
Actual Behavior
Additional Context
Add any other context about the problem here.