mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 18:21:47 +03:00
70ef197cf6
* [ base ] Deprecate setByte in favour of setBits8 Deprecate getByte; fix Core.Binary.Prims Along with `setByte`, the `getByte` function should similarly be deprecated since it also assumes the value will have the given size, rather than guaranteeing it in the type. CI highlighted some required changes in `Core.Binary.Prims` thanks to `-Werror`. The fix was to add some `cast` calls where the old `getByte` and `setByte` used to be. The RefC buffer test will need updating once we remove the functions completely. Added a note for future peeps. |
||
---|---|---|
.. | ||
expected | ||
run | ||
TestBuffer.idr | ||
testRead.buf |