ascot diagnostics

A7461

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

##super() calls the superclass’s version of the method it appears in, but no superclass declares a method of that name. A %DispatchMethod or a property of that name in a superclass does not take its place. IRIS reports MPP5386 when it compiles the class, and the call raises <SYNTAX> when it runs. 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