ascot diagnostics

A8061

Error: Cannot find class ‘{cls}’ in the workspace or on the IRIS instance

##class(X), a declared type or an Extends names a class that is neither open in the workspace nor known to the environment, so the reference can only fail: IRIS reports <CLASS DOES NOT EXIST> when the call runs. Without an environment (--iris none), every class outside the workspace is such a class, the system ones included. Fix the name or open the class’s file in the workspace; for a system class, check against an IRIS instance or its declarations.

IRIS compiles the example, and do ##class(Demo.MissingClass).Call() raises <CLASS DOES NOT EXIST> when it runs.

Class Demo.MissingClass
{

ClassMethod Call() As %String
{
    Quit ##class(Nope.Missing).Hello() //! A8061
}

}

All diagnostics