<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 29.08.2017 18:54, Sven Barth via
fpc-devel wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAFMUeB8kWPp_LTrBLnf1hrGyfsBRGfyrzDhT5S2DkFNOEG+zZA@mail.gmail.com">
<p>Am 29.08.2017 17:39 schrieb "Ondrej Pokorny" <<a
href="mailto:lazarus@kluug.net" moz-do-not-send="true">lazarus@kluug.net</a>>:<br>
> So yes, your description of {$modeswitch typehelpers} makes
sense for 3.0.0 but not for trunk any more. So what is your
intention - 3.0.0 behavior or trunk behavior?</p>
<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)</p>
<p>This way we won't need a new modeswitch...</p>
</blockquote>
<br>
Looks OK to me. Actually I only will join RecordHelperInheritance
and TypeHelpers switch from delphi-helpers-2.patch in
<a class="moz-txt-link-freetext" href="https://mantis.freepascal.org/view.php?id=32355">https://mantis.freepascal.org/view.php?id=32355</a>. It should be easy
to do.<br>
<br>
+ It means that record helper inheritance will be enabled with
typehelpers as well because if I am not mistaken currently the
compiler cannot distinguish between a type helper and record helper
acting on a record. (IMO it is even a plus.)<br>
<br>
Ondrej<br>
</body>
</html>