[erlang-questions] Statem troubles

Schneider <>
Mon Oct 17 15:28:55 CEST 2016


Thanks! I am running 19.0 and using the 19.1 docs indeed.

On 10/17/2016 03:18 PM, Steve Vinoski wrote:
>
>
> On Mon, Oct 17, 2016 at 5:41 AM, Schneider <
> <mailto:>> wrote:
>
>     Dear list,
>
>     I feel really stupid this morning, trying to get the gen_statem
>     working. Even the code_lock example given in the gen_statem
>     behaviour documentation doesn't work:
>
>
> If you run your code on 19.1, it works fine. On 19.0 your init/1 should
> return
>
> {callback_mode(),locked,Data}
>
> --steve


More information about the erlang-questions mailing list