[fpc-pascal] Traits Proposal
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Feb 20 00:00:55 CET 2021
On Fri, 19 Feb 2021 15:37:03 -0700
Ryan Joseph via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> > On Feb 19, 2021, at 3:14 PM, Sven Barth via fpc-pascal
> > <fpc-pascal at lists.freepascal.org> wrote:
> >
> > TObject *is* always the root, but the first entry of the
> > inheritance list of a class *must* be a class as well.
>
> I'm testing interface delegation now in ObjFPC mode and I don't see
> that including TObject is required.
In Delphi the first must be a class. FPC allows to omit the class
and uses TObject as default.
Mattias
More information about the fpc-pascal
mailing list