Files @ ef37386d0c6f
Branch filter:

Location: CSY/reowolf/testdata/parser/positive/9.pdl - annotation

MH
Put expression types of procedures in type table

Before we annotated the AST. But that is silly in hindsight:
certain operations have a completely different meaning when applied
in a polymorphic context (i.e. the field index determined by a
select expression).
#version 100

import std.reo;

composite main(in A, in B, out C) {
	channel xo -> xi;
	channel yo -> yi;
	channel zo -> zi;
	channel do -> di;
	channel eo -> ei;
	new replicator(A, {xo, yo});
	new replicator(B, {zo, do});
	new syncdrain(xi, zi);
	new fifo(di, eo);
	new merger({yi, ei}, C);
}