<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-08-29 18:54 GMT+02:00 Sven Barth via fpc-devel <span dir="ltr"><<a href="mailto:fpc-devel@lists.freepascal.org" target="_blank">fpc-devel@lists.freepascal.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-"><p>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)<br></p></span>
<p>This way we won't need a new modeswitch...</p></blockquote><div>+1 for single modeswitch.  In my case both would be used all the time.</div><div><br></div><div>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 :).</div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best regards,<br>Maciej Izak</div></div></div>
</div></div>