Warning: Returns a ‘{actual}’ where no return type is declared
This Quit or Return carries a value in a method that declares no return type. In a
label, the same is reported when an earlier Quit carries no value and this one does. IRIS
compiles and runs the code, and a call that takes the value gets it. Declare the return type
with As, or drop the value. In a label, give every Quit a value or none.
IRIS compiles the example.
Class Demo.ReturnXForNothing
{
ClassMethod Log(message As %String)
{
Write message, !
Quit 1 //! A8997
}
}