I have some code which crashes at runtime with a “Failed Pattern Match” when it’s called from JavaScript but which really really looks like it ought to work.
I made a minimal example but…turns out that there’s no failure in minimal example
My question therefore is simply has anyone ever seen a Failed Pattern Match when calling across the FFI? Could it be some thing Webpack related where the prototype function is different in one file from another?
(snapshot of console view in browser debugger might tell someone-wiser-than-i something useful so i’ll attach that)