ascot diagnostics

S5583

Warning: This comma wants {wanted}

Under {"spaceAfterComma":true}, a list’s comma with no space after it or one before, $ListBuild(a,b); under false, one with a space on either side. A comma whose whitespace holds a line break, and the two around an omitted argument, are left alone. IRIS ignores the spacing; respace the comma.

IRIS compiles the example. Checked with the style {"spaceAfterComma":true}.

Class Demo.CommaSpacing
{

ClassMethod Pair(a As %String, b As %String) As %List
{
    Quit $ListBuild(a,b) //! S5583
}

}

All diagnostics