Ryan Joseph via fpc-pascal <fpc-pascal@lists.freepascal.org> schrieb am
Sa., 7. März 2020, 05:18:

>
>
> > On Mar 7, 2020, at 5:15 AM, Sven Barth <pascaldra...@googlemail.com>
> wrote:
> >
> > I've found two bug reports related to this (I searched for "property"
> and only those reports that are neither closed nor resolved):
> > - https://bugs.freepascal.org/view.php?id=23620
> > - https://bugs.freepascal.org/view.php?id=14534
> >
> > And I noticed that the following already does generate an error:
>
> 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.
>
> 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.
>
> Should I file a new bug report for this?
>

Helpers indeed don't help there (pun intended :P). Please report, yes. And
add a reference to the two bug reports I mentioned.

Regards,
Sven

>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to