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
Function example/0 has no local return.
________________________________________________________________________________
lib/api/videos.ex:68:call
The function call will not succeed.
breaks the contract
(iodata(), Poison.Decoder.options()) :: Poison.Decoder.t() | no_return()
As you can see, example2 is valid, while example is not.
The text was updated successfully, but these errors were encountered:
Description
The usage example of
decode!/2
with theas
option does not match the actual type spec, causing dialyzer to complain.Steps to reproduce
dialyzer
, it will fail with:As you can see,
example2
is valid, whileexample
is not.The text was updated successfully, but these errors were encountered: