Open ElvishJerricco opened 8 years ago
I'm seeing the same issue. @mgsloan any ideas?
Hmm, I'm not sure what's going wrong there. One possible hack would be to coerce
u8, should be representationally equivalent.
Yeah, I ended up slapping an unsafeCoerce on to get around it shortly after commenting on the issue, but there's definitely a bit of an impedance mismatch at the type level that appears to make XHR.TypedArrayData
not usable without coercion.
got bit by this today
This code:
Produces this error message:
As far as I can tell, this is the intended purpose of
XHR.TypedArrayData
, so I'm not sure why it doesn't work.