Warning: Put {wanted} after {
Under {"openBrace":{"newlineAfter":true}}, a block’s first command on the line of its {
is reported, as in If x { Set y = 1. Under false, one on a line below the { is
reported. Move the first command onto the line below the brace or onto the brace’s line, as
the message says.
IRIS compiles the example. Checked with the style {"openBrace":{"newlineAfter":true}}.
Class Demo.BodyBreak
{
ClassMethod Sign(n As %Integer) As %Integer
{
If n < 0 { Quit -1 } //! S4933
Quit 1
}
}