This sort of code starts rambling about something like:
Error: Func "f" is computed at the following invalid location:
f.compute_at(g, y)
Legal locations for this function are:
f.compute_root();
f.compute_at(g, y);
Confusing, because it's telling you what to do, and you already did that. Right above this error, it also prints the correct error about hoisting outside of a parallel for, but that's a one-liner error, which is very subtle compared to this big and incorrect multi-line error.
This sort of code starts rambling about something like:
Confusing, because it's telling you what to do, and you already did that. Right above this error, it also prints the correct error about hoisting outside of a parallel for, but that's a one-liner error, which is very subtle compared to this big and incorrect multi-line error.
@vksnk