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
Which version of Dialyxir are you using? (cat mix.lock | grep dialyxir): 1.1.0
Current behavior
Please file a bug in https://github.com/jeremyjh/dialyxir/issues with this message.
Failed to parse warning:
[{:<, 1}, {:<, 1}, {:int, 1, 211228306992}, {:":", 1}, {:int, 1, 40}, {:>, 1}, {:>, 1}]
Legacy warning:
lib/beam_meta/util.ex:65: The pattern <<211228306992:40>> can never match the type #{'__struct__':='Elixir.Version', _=>_}
the simplified code is
def to_version_requirement(%Version{} = version) do
case version do
"1.0.0" -> "1.0.0"
_ -> "-0"
end
end
the offending lines is "1.0.0" -> "1.0.0" because version is a struct, so i can never match that string.
The text was updated successfully, but these errors were encountered:
Precheck
Environment
Elixir & Erlang/OTP versions (elixir --version):
Erlang/OTP 24 [erts-12.1.2]
Elixir 1.13.1 (compiled with Erlang/OTP 24)
Which version of Dialyxir are you using? (cat mix.lock | grep dialyxir): 1.1.0
Current behavior
the simplified code is
the offending lines is
"1.0.0" -> "1.0.0"
becauseversion
is a struct, so i can never match that string.The text was updated successfully, but these errors were encountered: