<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Ryan Joseph via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> schrieb am Sa., 7. März 2020, 05:18:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
> On Mar 7, 2020, at 5:15 AM, Sven Barth <<a href="mailto:pascaldragon@googlemail.com" target="_blank" rel="noreferrer">pascaldragon@googlemail.com</a>> wrote:<br>
> <br>
> I've found two bug reports related to this (I searched for "property" and only those reports that are neither closed nor resolved):<br>
> - <a href="https://bugs.freepascal.org/view.php?id=23620" rel="noreferrer noreferrer" target="_blank">https://bugs.freepascal.org/view.php?id=23620</a><br>
> - <a href="https://bugs.freepascal.org/view.php?id=14534" rel="noreferrer noreferrer" target="_blank">https://bugs.freepascal.org/view.php?id=14534</a><br>
> <br>
> And I noticed that the following already does generate an error:<br>
<br>
Yes, you're right this does trigger the correct error. My example was actually bad because I didn't notice that my problem was coming from a more complex situation.<br>
<br>
Given the code I get no error because the "width" property of the helper is writeable but the "point" property is read-only. This should still give the error because even though "width" is writable the "point" is read-only and the assignment will still go to temporary memory, thus failing silently. <br>
<br>
Should I file a new bug report for this?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Helpers indeed don't help there (pun intended :P). Please report, yes. And add a reference to the two bug reports I mentioned. </div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Sven </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
</blockquote></div></div></div>