[fpc-pascal] Dynamic array bug

silvioprog silvioprog at gmail.com
Wed Nov 7 06:57:54 CET 2018

Hi Ryan.

On Wed, Nov 7, 2018 at 1:13 AM Ryan Joseph <ryan at thealchemistguild.com>

> I finally built the trunk today (version 3.3.1) to try new dynamic array
> features and a bug fix Sven did a while ago but I’m still getting errors.
> Did I get the wrong version or something? I thought these things were
> working now.

Same problem here:

Error: Incompatible types: got "Set Of Byte" expected "TMyRec"
Error: Operator is not overloaded: "TIntArray" + "Set Of Byte"

It seems a bug, because the same code works fine on Delphi by changing
operator from ":=" to its respective name "Implicit".

My compiler ver: FPC 3.3.1 [2018/11/07] for x86_64 (Linux)

Silvio Clécio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20181107/f9cf5b5a/attachment.html>

More information about the fpc-pascal mailing list