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

Known bug with indexes and phi values #37

Open
mbellotti opened this issue Apr 27, 2023 · 0 comments
Open

Known bug with indexes and phi values #37

mbellotti opened this issue Apr 27, 2023 · 0 comments

Comments

@mbellotti
Copy link
Contributor

Need to come back to this later but there's a known bug in indexes when they are using inside any kind of branching logic like so:

increment: func{
        if num.value == 0 {
              num.value = 1;
       else{
              num.value <- num.value[now-1];
       },

index references a variable in the true branch that shouldn't be accessible to the false branch.

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

1 participant