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 subclass (ERROR #5254).

IRIS rejects the example.

Class Demo.Sealed Extends %RegisteredObject [ Final ]
{

}

IRIS rejects the example.

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

}

All diagnostics