elixir-maru / maru

Elixir RESTful Framework
https://maru.readme.io
BSD 3-Clause "New" or "Revised" License
1.32k stars 85 forks source link

Dialyzer complain about "The created fun has no local return" when using params #100

Closed oliver-schoenherr closed 5 years ago

oliver-schoenherr commented 6 years ago

After adding the params section to the maru_version example:

https://github.com/oliver-schoenherr/maru_examples/commit/e61494a905844cdf1054adda3073b17ce818b9d3

the dialyzer starts complaining about the MaruVersion.API module:

maru_version> mix dialyzer

lib/maru_version.ex:4: The created fun has no local return
done (warnings were emitted)