ascot diagnostics

S8215

Warning: Put {wanted} before {

Under {"openBrace":{"newlineBefore":false}}, a block’s { on a line of its own below its command; under true, one on the command’s line, If x {. IRIS accepts either layout; move the brace.

IRIS compiles the example. Checked with the style {"openBrace":{"newlineBefore":false}}.

Class Demo.OpenBraceBreak
{

ClassMethod Sign(n As %Integer) As %Integer
{
    If n < 0
    { //! S8215
        Quit -1
    }
    Quit 1
}

}

All diagnostics