[erlang-questions] Why doesn't gen_statem allow {next_event, ...} for state enter?
Torben Hoffmann
torben.lehoff@REDACTED
Sun May 6 22:46:41 CEST 2018
Thx, time to upgrade!
On Fri, 4 May 2018 at 15:31, Raimo Niskanen <
raimo+erlang-questions@REDACTED> wrote:
> On Fri, May 04, 2018 at 12:35:25PM +0000, Torben Hoffmann wrote:
> > Hi,
> >
> > I have just been bitten by this:
> > state1(enter, ...) ->
> > ...
> > {next_state, state2, NewData,
> > {next_event, internal, just_do_it}};
> >
> > but that is not a legal action for an enter thingy.
> >
> > Why is that so?
>
> That bug was fixed in OTP-20.3.2.
>
>
> >
> > Cheers,
> > Torben
> > --
> > https://www.linkedin.com/in/torbenhoffmann/
>
>
> --
>
> / Raimo Niskanen, Erlang/OTP, Ericsson AB
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
--
https://www.linkedin.com/in/torbenhoffmann/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20180506/424abbae/attachment.htm>
More information about the erlang-questions
mailing list