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

Issues with variation within Switch/If statements #10

Closed
Carlshede opened this issue Mar 5, 2019 · 4 comments
Closed

Issues with variation within Switch/If statements #10

Carlshede opened this issue Mar 5, 2019 · 4 comments

Comments

@Carlshede
Copy link
Collaborator

Carlshede commented Mar 5, 2019

Trying to assign a piece of code in a switch/case statement to a feature moves that feature from the switch statement to above the switch. This is also true for creating new variation points within a switch statements.

This issue is present in both C and Java.

C:
1.
switchissue

switchissue2

switchissue3

Java:
1.
switchissuejava

switchissuejava2

switchissuejava3

Tested in Windows & Linux.

EDIT: The same thing issue exists with if statements.

@Carlshede
Copy link
Collaborator Author

screenshot 2019-03-05 at 16 19 44
screenshot 2019-03-05 at 16 22 34

@benbehringer
Copy link
Owner

Yes, it works if there is at least one wrapper. Should work for blocks too.

@Carlshede
Copy link
Collaborator Author

There appears to be no issues with if or switch statements in the original release of PEoPL:
originalpeopl

@Carlshede Carlshede changed the title Issues with variation within Switch statements Issues with variation within Switch/If statements Mar 5, 2019
@benbehringer
Copy link
Owner

Thanks for the pointer! Should be fixed now.

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

No branches or pull requests

2 participants