tc39 / proposal-atomics-wait-async

"asynchronous atomic wait" for ECMAScript
https://tc39.github.io/proposal-atomics-wait-async/
Other
89 stars 18 forks source link

DoWait's use of ToInt32() does not match current specification of Atomics.wait #22

Closed rwaldron closed 4 years ago

rwaldron commented 4 years ago

Step 3:

Let v be ? ToInt32(value).

Should be:

If arrayTypeName is "BigInt64Array", let v be ? ToBigInt64(value). Otherwise, let v be ? ToInt32(value).