[fpc-pascal] Property write access on records

Jonas Maebe jonas at freepascal.org
Thu Mar 5 11:10:42 CET 2020

On 05/03/2020 08:24, Ryan Joseph via fpc-pascal wrote:
> Yes, it's a temporary variable but doesn't it make sense to give an error because the property is read only? It's basically a no-op like it is now and defeats the purpose of read-only properties. It also creates a nasty bug because the programmer thinks they've written to something but they actually didn't.
> Can we consider changing this behavior?

I think there is already an open bug report for this.


More information about the fpc-pascal mailing list