Warning: Put the postconditional on the command keyword, not on its argument
Under {"command":{"allowPostconditionOnArgument":false}} (or commandDo, commandGoto,
commandXecute for one command), a postconditional on an argument of Do, Goto or
Xecute, Do ^R:x, rather than on the keyword, Do:x ^R. IRIS accepts both, and with a
single argument they mean the same; move the condition onto the keyword.
IRIS compiles the example. Checked with the style {"command":{"allowPostconditionOnArgument":false}}.
Class Demo.ArgumentPostconditional
{
ClassMethod Run(verbose As %Boolean)
{
Do ..Log("starting"):verbose //! S6307
Do:verbose ..Log("done")
}
ClassMethod Log(text As %String)
{
Write text, !
}
}