Re: gen_fsm:reply returns wrong value

Siri Hansen <[email protected]> Thu, 10 Sep 2015 11:08:40 +0200
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <CAGqERUGtuSLOvb5nKbYWV12K2uDTapw9zv31PxoecVLn4XHRAg@mail.gmail.com>
Hi Aleksander!

Thank you for the report! The documentation will be corrected in OTP-18.1.

Regards
/siri

2015-08-18 9:26 GMT+02:00 Aleksander Nycz <[email protected]>:

> Hello,
>
> Manual claims that gen_fsm:reply returns value 'true':
>
> http://www.erlang.org/doc/man/gen_fsm.html#reply-2
>
> reply(Caller, Reply) -> true
>
> but code shows that different value is returned:
>
> %% Send a reply to the client.reply({To, Tag}, Reply) ->
>     catch To ! {Tag, Reply}.
>
>
> Regards
> Aleksander Nycz
>
>
> --
> Aleksander Nycz
> Chief Designer
> Telco_021 BSS R&D
> Comarch SA
> Phone:  +48 17 785 5909
> Mobile: +48 691 464 275
> website: www.comarch.pl
>
>
> _______________________________________________
> erlang-bugs mailing list
> [email protected]
> http://erlang.org/mailman/listinfo/erlang-bugs
>
>

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs