[erlang-bugs] Re: [erlang-bugs 3] Bug in -spec/@doc ordering in new edoc

Hans Bolinder <>
Mon Apr 4 13:32:54 CEST 2011


Hi,

[Andrew Thompson:]
> Hi, I just noticed an odd behaviour where the order in which a @doc and
> a -spec appear affects whether the @doc appears in the edoc output. If I
> put the -spec first, the only documentation for that function is the
> spec, if I put the @doc first, they both show up.

This bug has been reported several times, and finally a fix has
been merged into 'dev' (R14B03 to be):

https://github.com/erlang/otp/commit/efd032654990280daee58463b3208ef843008a2a

Best regards,

Hans Bolinder, Erlang/OTP team, Ericsson


More information about the erlang-bugs mailing list