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

Validator not catching the mixing of triggers in the top level reaction when federates are in a bank #1059

Open
housengw opened this issue Mar 23, 2022 · 0 comments

Comments

@housengw
Copy link
Contributor

housengw commented Mar 23, 2022

Minimal example:

target C;

reactor A {
    output o:int;
    reaction(startup) -> o {=
        SET(o, 1);
    =}
}

federated reactor {
    aa = new[2] A();
    reaction(aa.o) {=
        for (int i = 0; i < aa_width; i++) {
            info_print("o: %d", aa[i].o->value);
        }
    =}
}

Running the code simply segfaults

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

No branches or pull requests

1 participant