On Fri, Feb 16, 2007 at 12:42:24AM +0200, Allison Randal wrote:
> Nicholas Clark wrote:
> >
> > What happens if you add a stage with the same name as an existing stage?
> 
> It gets added twice. You might repeat a stage like "optimize_tree" or 
> "display_benchmarks" after each transformation.
> 
> > Is ambiguity acceptable?
> 
> What kind of ambiguity?

If you're adding before or after an existing named stage, the ambiguity is
to which one you mean. Except having now studied the PIR, I can see that
there isn't ambiguity, because it's "all of them".

There's no test for this though. Hence why I didn't realise.

Nicholas Clark

Reply via email to