TC problem with conditionals
The following program
int main()
{
bodies = [1,2,3,4,5,6,7];
accs = {[i] -> {[j] -> (_eq_SxS_(i,j) ? _sel_VxA_([i], bodies) : _sel_VxA_([j], bodies)) } };
return(0);
}
when compiled with -noprelude
yields:
./bodies.sac 5 error: Identifier '_hce_23` used without previous definition
./bodies.sac 5 error: Identifier '_hce_22` used without previous definition
./bodies.sac 5 error: Identifier '_hce_25` used without previous definition
./bodies.sac 5 error: Identifier '_hce_24` used without previous definition
compilation failed while Converting to static single assignment form, 4 error(s).
in phase 4 when using
sac2c 1.3.3-MijasCosta-721-g71fd