Skip to content

Commit 52896c8

Browse files
Note bug in bit arrays article
1 parent 25aefa0 commit 52896c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

blog/bit-array-syntax.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ bytes. If given an explicit size, that number of bits/bytes is matched. If the
250250
`size` option is not used, they match everything remaining in the bit array.
251251

252252
**Note**: When using the `bytes` option, size is measured in bytes, and the `unit`
253-
option cannot be used.
253+
option cannot be used. This is currently a bug in Gleam, you can track its status
254+
[here](https://github.com/gleam-lang/gleam/issues/5208).
254255

255256
```gleam
256257
let assert <<_, bits:bits-size(12), _:size(4)>> = <<1, 2, 3>>

0 commit comments

Comments
 (0)