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
I figured out the "problem" — in a library module we have a function defined as a callback with a default function which has 'defoverride: ...' defined for this function.
Then in the module using this library, it overrides that function, but the function head had an optional argument defined:
Which version of Dialyxir are you using? (cat mix.lock | grep dialyxir): 1.3.0
Current behavior
Please file a bug in https://github.com/jeremyjh/dialyxir/issues with this message.
Failed to parse warning:
[<: 1, >: 1]
Legacy warning:
lib/rivet/ecto/collection/model.ex:54: The pattern <> can never match since previous clauses completely covered the type <>
The text was updated successfully, but these errors were encountered:
I figured out the "problem" — in a library module we have a function defined as a callback with a default function which has 'defoverride: ...' defined for this function.
Then in the module using this library, it overrides that function, but the function head had an optional argument defined:
Taking out the
\\ %{}
resolved the error.Environment
Elixir 1.14.1 (compiled with Erlang/OTP 25)
Current behavior
The text was updated successfully, but these errors were encountered: