2017-08-29 18:54 GMT+02:00 Sven Barth via fpc-devel < fpc-devel@lists.freepascal.org>:
> Maybe it would indeed make more sense to adjust the meaning of the > typehelpers modeswitch in mode Delphi... Namely that it enabled the "type > helper" syntax including the inheritance. But the record helpers are left > as is... (btw: a type helper for a primitive type can inherit from a record > helper of the same type, internally they're all the same) > > This way we won't need a new modeswitch... > +1 for single modeswitch. In my case both would be used all the time. IMO inheritance for record helpers in Delphi mode has no really meaning and may stay as undefined behavior (finally we have many non Delphi behaviors available in Delphi mode), even more - it is nice addition :). -- Best regards, Maciej Izak
_______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel