Error in XS0018

Static error XS0018 is defined as follows.

"If an option is required, it is a static error to invoke the step 
without specifying a value for that option."

Section 6.1 Static Errors defines the meaning of static error.

"[Definition: A static error is one which can be detected before 
pipeline evaluation is even attempted.] Examples of static errors 
include cycles and incorrect specification of inputs and outputs.

Static errors are fatal and must be detected before any steps are 
evaluated."

Invocation of a step is typically something performed during 
evaluation.  Therefore either this error should be a dynamic error, or 
it should be redefined to avoid use of "invoke", e.g.

"If an option is required, it is a static error to specify the 
invocation of a step without specifying a value for that option."

Test case "Test for err:XS0018 - 002" illustrates an example where this 
error condition can only be detected at run time - when options are not 
supplied when invoking the top-level pipeline.  It is only when the host 
language fails to pass an option which is required that the invocation 
will fail.

Received on Tuesday, 31 July 2012 12:21:26 UTC