Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teleport / transition to does not combine with onentry spawn statements #77

Open
jfabry opened this issue Sep 25, 2015 · 0 comments
Open

Comments

@jfabry
Copy link
Owner

jfabry commented Sep 25, 2015

Code:

(machine m
(var top := [0])
(state one
(machine nest
(var in := [0])
(state none (onentry [in := in + 1])))
(onentry (spawn nest none))
)
(state two
(machine nest2
(var in2 := [0])
(state none)
(state ntwo (onentry [in2 := in2 + 1]))
(ontime 500 none -> ntwo)
(ontime 500 ntwo -> none)
)
(onentry (spawn nest2 ntwo)))
)
(spawn m one)

Do a teleport or transition to state two and you will see that the spawn statement has not been executed. Do we have a test for this? If not it should be added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants