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

Java code-generator does not handle the nondeterministic statement correctly #650

Closed
peterwvj opened this issue Oct 11, 2017 · 0 comments
Closed
Assignees
Labels
bug Incorrect behaviour of the tool Mergable A fix is available on a branch to merge for release
Milestone

Comments

@peterwvj
Copy link
Member

peterwvj commented Oct 11, 2017

This issue can be demonstrated using the following class:

class Entry

operations

public static Run : () ==> ?
Run () ==
  || (return true, return true);

end Entry

When code-generated, the generated code contains both return statements, which is wrong (and it won't compile). Instead it should just choose one of them.

@peterwvj peterwvj added the bug Incorrect behaviour of the tool label Oct 11, 2017
@peterwvj peterwvj added this to the v2.5.4 milestone Oct 11, 2017
@peterwvj peterwvj self-assigned this Oct 11, 2017
@peterwvj peterwvj changed the title Java code-generator does not handle the non deterministic statement correctly Java code-generator does not handle the nondeterministic statement correctly Oct 11, 2017
@peterwvj peterwvj added the Mergable A fix is available on a branch to merge for release label Oct 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behaviour of the tool Mergable A fix is available on a branch to merge for release
Projects
None yet
Development

No branches or pull requests

1 participant