jeremyjh / dialyxir

Mix tasks to simplify use of Dialyzer in Elixir projects.
Apache License 2.0
1.69k stars 141 forks source link

A bug reported because the output told me to. #413

Closed isaacsanders closed 3 years ago

isaacsanders commented 3 years ago
Please file a bug in https://github.com/jeremyjh/dialyxir/issues with this message.

Failed to format warning:
"@spec a:persistent | :success | :transient :: :ok\ndef a() do\n  :ok\nend\n"

Legacy warning:
lib/my_module.ex:110: The success typing for 'Elixir.MyModule':retry_outcome_classifier/1 implies that the function might also return 'permanent' but the specification return is 'persistent' | 'success' | 'transient'