Files @ ef37386d0c6f
Branch filter:

Location: CSY/reowolf/testdata/parser/negative/18.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).
1
2
3
4
5
6
7
8
#version 100

// illegal subject
primitive main(in a, out b) {
	int x = 0;
	int[] y = {x, x, x};
	y[0] = (x+y)[0];
}