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
Produces this error output from gleam build on Gleam 1.6.2:
Compiling bit_array_test
/Users/richardviney/Code/bit_array_test/src/bit_array_test.gleam:8:39: syntax error before: ','
/Users/richardviney/Code/bit_array_test/build/dev/erlang/bit_array_test/_gleam_artefacts/bit_array_test.erl:4:2: function main/0 undefined
% 4| -export([main/0]).
% | ^
/Users/richardviney/Code/bit_array_test/src/bit_array_test.gleam:6:2: spec for undefined function main/0
% 6| <<<<0xAE>>:bits-size(5 |> identity)>>
% | ^
error: Shell command failure
There was a problem when running the shell command `escript`.
This Gleam code that uses a pipe in a
size
bit array segment:Produces this error output from
gleam build
on Gleam 1.6.2:The generated Erlang code is here: bit_array_test.erl.txt
I'm uncertain whether pipes in bit array segments are meant to work, but blocks and case expressions work so pipes probably should too.
The text was updated successfully, but these errors were encountered: