ascot diagnostics

A5156

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

A function is called with more arguments than its documentation names: $ZF(-1, command) with a third, $ZBITSET or $VIEW in mode -7 with a fourth. IRIS compiles and runs the call all the same, and the documentation gives the extra argument no meaning. Drop it.

IRIS compiles the example.

Class Demo.UndocumentedArgument
{

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

}

All diagnostics