Re: [fpc-pascal] Array range overflow in properties

2021-04-30 Thread Ryan Joseph via fpc-pascal
> On Apr 29, 2021, at 11:22 PM, Sven Barth wrote: > > Well, there should *at least* be a warning and an error if range checks are > enabled... Please file a bug report. https://bugs.freepascal.org/view.php?id=38829 Regards, Ryan Joseph ___

Re: [fpc-pascal] Array range overflow in properties

2021-04-29 Thread Sven Barth via fpc-pascal
Am 29.04.2021 um 20:14 schrieb Ryan Joseph via fpc-pascal: Is this a bug in properties and I should be getting an error? type TPixel = record components: array[0..3] of byte; property R: byte read components[10] write components[10]; end; Well, there should *a