lf-lang / lingua-franca

Intuitive concurrent programming in any language
https://www.lf-lang.org
Other
231 stars 62 forks source link

PingPongDistributed.lf - compilation error #182

Closed mryndzionek closed 4 years ago

mryndzionek commented 4 years ago

If I try to compile benchmark/C/Savina/PingPongDistributed.lf I get few:

Executing command: gcc -O2 src-gen/PingPongDistributed_pong.c -o bin/PingPongDistributed_pong -pthread
--- Standard error from command:
file:/home/molcos/git/lingua-franca/benchmark/C/Savina/PingPongDistributed.lf: In function ‘new_PingPong’:
file:/home/molcos/git/lingua-franca/benchmark/C/Savina/PingPongDistributed.lf:49:45: error:
 ‘pingpong_self_t {aka struct <anonymous>}’ has no member named ‘___reaction_2’; did you mean ‘___reaction_0’?
edwardalee commented 4 years ago

Thanks for pointing this out. I have pushed a fix and added this example to regression tests.