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

Enable and disable relevant flow-warning test-programs #167

Merged
merged 1 commit into from
May 16, 2019

Conversation

falkecarlsen
Copy link
Member

As title says, these were previously not enabled nor disabled. Turns out the following if-else-for.cell program does not work:

world {
    size = 100 [wrap], 200 [wrap];
    tickrate = 1;
    cellsize = 5;
}

state ident (0, 0, 0) {
    become ident;
}

function f(int a) int {
    if (a == 1) {
        return a;
    } else {
        return a;
    }

    for (let x = a; x < a; x = x+1) {
        let y = 2;
    } 
    return a;
}

Copy link
Contributor

@NicEastvillage NicEastvillage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird that one doesn't work. Oh well.

@falkecarlsen
Copy link
Member Author

Made issue #168 too

@falkecarlsen falkecarlsen merged commit fadf14c into master May 16, 2019
@falkecarlsen falkecarlsen deleted the flow-tests-enable branch May 16, 2019 13:03
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

Successfully merging this pull request may close these issues.

2 participants