Warning: Cannot find member ‘{mem}’ in {cls}, an abstract class whose subclass here may have it{suggestions}
The receiver’s class is abstract and declares no such member, so the value, always some subclass’s, may still have it; the nearest declared names follow as suggestions. IRIS compiles the call and resolves the member when it runs. Declare the member on the abstract class, or type the value as the subclass that has it.
IRIS compiles the example.
Class Demo.CannotFindMemberOnAbstract Extends %RegisteredObject [ Abstract ]
{
Method Area() As %Numeric [ Abstract ]
{
}
ClassMethod Describe(shape As Demo.CannotFindMemberOnAbstract) As %String
{
Quit "Perimeter: " _ shape.Perimeter() //! A4718
}
}