Compilation warning about unused literal in mix.exs does not show line number
Closed this issue · 0 comments
eksperimental commented
Elixir and Erlang/OTP versions
Erlang/OTP 27 [erts-15.2.2] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Elixir 1.18.2 (compiled with Erlang/OTP 27)
Operating system
MacOS
Current behavior
❯ mix compile
warning: code block contains unused literal 42 (remove the literal or assign it to _ to avoid warnings)
└─ mix.exs: ElixirDebug.MixProject (module)
Generated elixir_debug app
Expected behavior
The line number where the literal is.
You can see it in this repo
https://github.com/eksperimental-debug/elixir_debug/blob/unused-literal-mix-exs/
and this file: https://github.com/eksperimental-debug/elixir_debug/blob/unused-literal-mix-exs/mix.exs