ascot diagnostics

A5156

Warning: ${function} is documented to take at most {documented} argument(s), but was given {given}; IRIS tolerates the extra

A call passes more arguments than the function is documented to take. The extra is a third argument to $ZF(-1, command), or a fourth to $ZBITSET or to $VIEW in mode -7. IRIS compiles the call, but $ZBITSET with some values of the fourth argument raises <FUNCTION> when it runs. Drop the extra argument, to which the documentation gives no meaning.

IRIS compiles the example.

Class Demo.UndocumentedArgument
{

ClassMethod Shell() As %Integer
{
    Quit $ZF(-1, "ls", 1) //! A5156
}

}

All diagnostics