ascot diagnostics

S5583

Warning: This comma wants {wanted}

This comma in a list is not spaced as the spaceAfterComma option requires. Under {"spaceAfterComma":true}, a comma has one space after it and none before. Under false, it has no space on either side. A comma next to a line break, one beside an omitted item, and one that a macro expands to are not checked. Respace the comma as the message says.

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