# Does dyalizer need @spec when a function has @impl?

**URL:** <https://forum.elixirforum.com/t/does-dyalizer-need-spec-when-a-function-has-impl/28237>\
**Category:** Questions\
**Tags:** behaviours, dialyzer\
**Created:** [January 14, 2020, 11:30am UTC](https://forum.elixirforum.com/t/does-dyalizer-need-spec-when-a-function-has-impl/28237 "2020-01-14T11:30:40Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Fl4m3Ph03n1x](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/fl4m3ph03n1x/32/11709_2.png) [@Fl4m3Ph03n1x](https://forum.elixirforum.com/u/Fl4m3Ph03n1x)\
**Post date:** [January 15, 2020, 2:09pm UTC](https://forum.elixirforum.com/t/does-dyalizer-need-spec-when-a-function-has-impl/28237/3 "2020-01-15T14:09:11Z")

</div>

But which way would you recommend? Would the `@spec` clash?

---

_[View the full topic](https://forum.elixirforum.com/t/does-dyalizer-need-spec-when-a-function-has-impl/28237)._
