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