Partial Evaluation is being performed unexpectedly
tonywmnix opened this issue · comments
tonywmnix commented
Hi,
For the unroll.impala test, if I add a version of range() after a call to @ range it is still doing partial evaluation. Is this expected?
let unroll = 10;
for i in @range(0, unroll) {
arr(0) = foo(i);
}
for i in range(0, unroll) { // Is being evaluated
arr(0) = foo(i);
}
Roland Leißa commented
no, this is a bug. However, it should be fixed in the current new_master branch. However, this branch still has some other issues. So we haven't merged back yet.
Roland Leißa commented
fixed in new_master