RE: unbound option bug in Calabash, I think

> The spec says [1]
> 
>   "The select expression is only evaluated when its actual value is
>    needed by an instance of the step type being declared."
> 
> That puts a pretty substantial burden on an implementation!  Did we
> really mean to say that???!!!!  But given it says that, the answer to
> your question is "no, no error, since the 'notUsed' option is never
> needed by any instance of the step".

I think the biggest problem, IMHO, is that the implementation needs to
remember the names of the preceding options, so it can do the 'lazy'
evaluation properly (detection od err:XD0026, ...) Not impossible, just
more work...

Regards,
Vojtech

Received on Friday, 15 May 2009 11:45:31 UTC