[erlang-questions] Overloaded function specification and edoc

19 views
Skip to first unread message

Malotte Westman Lönne

unread,
Dec 20, 2011, 8:22:02 AM12/20/11
to erlang-q...@erlang.org
Hi,

When running edoc on an overloaded function specification only the first part shows up in the resulting html-file.
Am I doing something wrong or is it a bug?

CODE:
-spec init(read | write, Pid::pid(), Entry::#app_entry{}, BufSize::integer(), LLevel::integer()) ->
{ok, Buf::#co_data_buf{}} |
{ok, Mref::reference(), Buf::#co_data_buf{}} |
{error, Error::atom()};
(read | write, Dict::term(), Entry::#dict_entry{}, BufSize::integer(), LLevel::integer()) ->
{ok, Buf::#co_data_buf{}} |
{error, Error::atom()}.


EDOC:
init/5

init(Access::read | write, Pid::pid(), Entry::#app_entry{}, BufSize::integer(), LLevel::integer()) -> {ok, Buf::#co_data_buf{}} | {ok, Mref::reference(), Buf::#co_data_buf{}} | {error, Error::atom()}

Regards,
Malotte
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Reply all
Reply to author
Forward
0 new messages