ascot diagnostics

A5254

Error: Cannot inherit from final class ‘{cls}’

Extends names a class declared [ Final ], which no class may extend. IRIS refuses to compile the class (ERROR #5254). Extend another class, or drop Final from the superclass.

IRIS rejects the example.

Class Demo.Sealed Extends %RegisteredObject [ Final ]
{

}
Class Demo.Opened Extends Demo.Sealed //! A5254
{

}

All diagnostics