ascot diagnostics

A7461

Error: No superclass of {cls} has a method ‘{method}’ for ##super to call

##super() binds to the superclass’s version of the enclosing method at compile time, and no superclass declares a method of that name; no %DispatchMethod and no same-named property stands in. IRIS refuses to compile the method. Remove the call, or spell the method as the superclass does.

IRIS rejects the example.

Class Demo.SuperWithoutMethod Extends %RegisteredObject
{

Method Describe() As %String
{
    Quit "Demo: " _ ##super() //! A7461
}

}

All diagnostics