Skip to content

Commit

Permalink
Merge pull request #10 from CausingBrick/fix/export_fn_cast_bigint
Browse files Browse the repository at this point in the history
Fix TypeError with BigInt Args during Unwinding in wrapExportFn
  • Loading branch information
RReverser authored Dec 29, 2023
2 parents 1cdf4f6 + adf3a5e commit 9246329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncify.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class Asyncify {
this.value = await this.value;
this.assertNoneState();
this.exports.asyncify_start_rewind(DATA_ADDR);
result = fn();
result = fn(...args);
}

this.assertNoneState();
Expand Down

0 comments on commit 9246329

Please sign in to comment.