exercism / elixir-analyzer

GNU Affero General Public License v3.0
30 stars 32 forks source link

Elixir track: @doc first, @spec next to function #335

Closed georgevanuta closed 1 year ago

georgevanuta commented 1 year ago

The exercise is sieve.

Got this comment on my solution:

\

But the @doc already is before the @spec in my code:

\ \

I might be missing something but I think the elixir-analyzer might be doing something wrong here.

jiegillet commented 1 year ago

Hi @georgevanuta, thanks for the feedback. Yes, it a known bug (#318), basically the analyzer fires that comment every time a @spec or @doc are used with a private function. We are working on it in (#332), I'll close this issue, but feel free to follow the others.