moiri / streamix-c

compiler for Streamix
GNU General Public License v2.0
0 stars 0 forks source link

Bypass Operator: Produce a Warning istead of Error when only Connecting with Bypass #18

Closed moiri closed 5 years ago

moiri commented 5 years ago

The following example should produce a warning instead of an error:

A = box a(out bypass)
B = box b(out x)
C = box c(in x, in bypass)

connect A:B:C

To fix the warning use an abstract net instead of a composed net:

A = box a(out bypass)
B = box b(out x)
C = box c(in x, in bypass)

N = B:C
connect A.N