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
Just to report that Emscripten 3.1.68 makes optional arguments in JS bindings actually optional: emscripten-core/emscripten#22389
I discovered this issue when trying to use the new Module#open method signature with two optional arguments. Just calling open(filename) was throwing a BindingError saying that I was passing the wrong number of arguments. I had to pass undefined explicitly for the two optional arguments: https://github.com/silx-kit/h5web/blob/main/packages/h5wasm/src/worker.ts#L26
The text was updated successfully, but these errors were encountered:
Just to report that Emscripten 3.1.68 makes optional arguments in JS bindings actually optional: emscripten-core/emscripten#22389
I discovered this issue when trying to use the new
Module#open
method signature with two optional arguments. Just callingopen(filename)
was throwing aBindingError
saying that I was passing the wrong number of arguments. I had to passundefined
explicitly for the two optional arguments: https://github.com/silx-kit/h5web/blob/main/packages/h5wasm/src/worker.ts#L26The text was updated successfully, but these errors were encountered: