[fpc-pascal] Default record const values

Ben Grasset operator97 at gmail.com
Sun Nov 11 04:08:35 CET 2018


On Sat, Nov 10, 2018 at 9:03 PM Ryan Joseph <ryan at thealchemistguild.com>
wrote:

> Not sure how default fields in generics help here. I just thought it would
> be nice if FPC supported this so we can init records at compile time
> easier. I’d prefer default struct fields like C++ has but typed const
> defaults would be an improvement.
>

I guess I just meant that the other work you did recently seems (to me) to
be in roughly the same "category" of functionality, and that it was also
proof that there's not a whole lot of distance to close as far as the
actual code required to implement it in FPC with regards to that kind of
thing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20181110/3b9e5d66/attachment.html>


More information about the fpc-pascal mailing list