aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-01-23 10:43:56 +0100
committerRaimo Niskanen <[email protected]>2017-01-23 15:31:04 +0100
commit60f8840e8e62dece4a7e2e58f0d9e487c4e8018f (patch)
treede4db81a7286b934a78d5ff1ca036f401b85452d /lib/stdlib/src
parent35985299ae5414fb448d9961071f722ce209f0b6 (diff)
downloadotp-60f8840e8e62dece4a7e2e58f0d9e487c4e8018f.tar.gz
otp-60f8840e8e62dece4a7e2e58f0d9e487c4e8018f.tar.bz2
otp-60f8840e8e62dece4a7e2e58f0d9e487c4e8018f.zip
Correct type checking function for action {next_event,,}
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/gen_statem.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/stdlib/src/gen_statem.erl b/lib/stdlib/src/gen_statem.erl
index b6b02a47bc..4b5f5f676c 100644
--- a/lib/stdlib/src/gen_statem.erl
+++ b/lib/stdlib/src/gen_statem.erl
@@ -307,12 +307,16 @@ event_type({call,From}) ->
from(From);
event_type(Type) ->
case Type of
+ {call,From} ->
+ from(From);
cast ->
true;
info ->
true;
timeout ->
true;
+ state_timeout ->
+ true;
internal ->
true;
_ ->