Which version of Dialyxir are you using? (cat mix.lock | grep dialyxir):
1.2.0
Current behavior
mix dialyzer reports:
Please file a bug in https://github.com/jeremyjh/dialyxir/issues with this message.
Unknown error occurred: %Protocol.UndefinedError{description: "", protocol: String.Chars, value: {74, 30}}
Legacy warning:
src/fx.erl:74:30: Unknown type util:success_decode/0
Environment
Erlang/OTP 25 Elixir 1.13.2
1.2.0
Current behavior
mix dialyzer
reports:Line fx.erl:74:
util.erl is accessible to dialyzer, and has this:
Expected behavior
Dialyzer should not produce no warning. Also note that when the same project is analyzed with
rebar3 dialyzer
there are no warnings produced.