ascot diagnostics

A1203

Warning: Unreachable: every path before this statement has quit, returned or thrown

This statement never runs, because every branch before it has already quit, returned or thrown. IRIS compiles it all the same. Delete the statement, or move it before the exit that precedes it.

IRIS compiles the example.

Class Demo.Unreachable
{

ClassMethod Answer(verbose As %Boolean) As %Integer
{
    Quit 42
    If verbose Write "never printed", ! //! A1203
}

}

All diagnostics