throw RuntimeExceptionFactory.indexOutOfBounds(index, ctx.getCurrentAST(), ctx.getStackTrace());
}
return makeResult(getType().getElementType(), getValue().get(idx), ctx);
}
if (nSubs >= getType().getArity()) {
throw new UnsupportedSubscriptArity(getType(), nSubs, ctx.getCurrentAST());
}
int relArity = getType().getArity();
Type subscriptType[] = new Type[nSubs];
boolean subscriptIsSet[] = new boolean[nSubs];