Affects Version/s: 23.0
Fix Version/s: None
Team RabbitMQ's Erlang master pipeline detected an issue with Rebar bootstrap.
Starting on December 2nd, the compiler started to (seemingly incorrectly) produce an unused variable warning on this line . The message reads:
The line reads:
which seems to be correctly prefixed.
Steps to reproduce:
- Build OTP master
- Clone github.com/erlang/rebar3
- Run `DEBUG=1 ./bootstrap` in the repo
- Observe the error
- Change the line to read `_ = maps:get("VERSION", Files),`
- Rer-run the bootstrap
- Observe a successful build
So looks like the compiler is being too strict about what _Unused variables are treated as such.