Error: Cannot find class ‘{cls}’ in the workspace or on the IRIS instance
##class(X) names a class that is neither in the workspace nor on the IRIS instance. IRIS
compiles the call and raises <CLASS DOES NOT EXIST> when it runs. A member used on a value
declared As X is reported too. Without an IRIS instance (--iris none), a property,
formal argument, return type or Extends naming X is also reported. IRIS refuses to
compile that class if X does not exist (ERROR #5373). Fix the name, open the class’s
file, or check against an IRIS instance (--iris).
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
}
}