Method is defined with ReturnType value but has QUIT or
RETURN without arguments.
Following code will compile, but on runtime the bar method
will fail with "COMMAND error" message.
ClassMethod foo() As %String
{
Quit
}
ClassMethod bar()
{
#Dim str As %String = ..foo()
}
ClassMethod foo() As %String
{
Quit "Hello"
}
ClassMethod bar()
{
#Dim str As %String = ..foo()
}