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
{{ message }}
Repository navigation
TypedArray: copyWithin/copyAllWithin are typed as returning array, and TypedArray.map can change the element type #9103
This compiles, then throws TypeError: r.push is not a function. The signatures are in Stdlib_TypedArray.res lines 128 and 145 (the generic module), and #9050 copied them into the Impl functor (lines 600 and 618), which all 11 typed-array modules include. Line 144 also has a duplicated @send @send.
TypedArray.map / mapWithIndex. The generic versions are typed (t<'a>, 'a => 'b) => t<'b> (lines 416 and 420). A typed array's map returns a typed array of the same kind and coerces each result to its element type:
Activity