Closed jj1bdx closed 2 years ago
Yeah… You need to enable the new features. This is what we do on CI:
ERL_FLAGS="-enable-feature all"
@elbrujohalcon Thanks. So do I always have to add the execution option ERL_FLAGS="-enable-feature all"
to run the rebar3_format?
I'm afraid so… but keep in mind that this will start happening more and more often with other libraries as well. Everybody that uses maybe
in a lib will require you to have that flag on every time you want to use their lib. You'll eventually have to have that flag on by default for all your Erlang projects. 🤷🏻
OK Brujo thanks for the comment. I have no complaint nor objection against the maybe
feature either (in fact I like it!), so I guess we need to establish a good practice to acquire these newer pieces of code. :smile:
Describe the bug
Unable to build rebar3_format by
rebar3 compile
on Erlang/OTP 25.0.2 running on macOS 12.4.To Reproduce
Expected behavior
Successful compilation of rebar3_format.
Rebar3 Log
Additional context
This is possibly an issue of https://github.com/inaka/katana-code.