Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

No action executed on outgoing transitions from an initial state #278

Closed
egrolleau opened this issue Jan 4, 2016 · 1 comment
Closed

Comments

@egrolleau
Copy link

Simple setup to expose the bug: create a new statechart.

In the declarative part, write:
internal:
var a:integer

Name the state "A". On the transition from the initial state to A, write:
/a=3

Simulate. After simulation, the value of a is 0, while it should be 3.
It seems that Yakindu simulation ignores any action on an outgoing transition from an initial state.

@DominikTesch
Copy link
Contributor

added tests for c, cpp, java and interpreter to pull request #281 reassigning @terfloth

@DominikTesch DominikTesch assigned terfloth and unassigned DominikTesch Jan 6, 2016
terfloth added a commit that referenced this issue Feb 7, 2016
This was referenced Feb 8, 2016
@terfloth terfloth closed this as completed Feb 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants