for (Expression expr : selectElems) {
++ i;
if (expr.codeRefersToConjuredColumn()) {
try {
// TODO fix this - do not even attempt to add a second time here
attr.find(expr.conjure().column());
} catch (IndexOutOfBoundsException ex) {
attr.add(expr.conjure().column());
}
}
if (! expr.isSuitableForProject()) {