[fpc-pascal] Dynamic array bug
Ryan Joseph
ryan at thealchemistguild.com
Thu Nov 8 02:35:04 CET 2018
> On Nov 7, 2018, at 10:12 PM, silvioprog <silvioprog at gmail.com> wrote:
>
> Anyway, it doesn't compile in FPC (tested in both delphi and objfpc modes).
>
I read the old thread and we need to add {$modeswitch arrayoperators} to make it work. a += [4] does work now.
Also I found the thread where Sven said he fixed the "Incompatible types: got "Set Of Byte” bug in r39554 (https://bugs.freepascal.org/view.php?id=34021). It is indeed fixed but only for + operators.
Do you want me to file a new bug report for := operators?
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list