[fpc-pascal] Default record const values

John Doe slightlyoutofphase at gmail.com
Wed Nov 14 02:05:18 CET 2018


On Mon, Nov 12, 2018 at 1:51 AM Sven Barth via fpc-pascal <
fpc-pascal at lists.freepascal.org> wrote:

> The compiler now correctly rejects such declarations with a "Type is
> not completely defined error".
>

Making this not work is a ridiculous removal of a feature for no logical
reason that serves no benefit to anyone whatsoever. It just makes records
less useful, and that's it.

I've already encountered several large libraries that are pretty massively
broken by this pointless change. You're very visibly just making up
arbitrary "rules" out of nowhere that certainly aren't actually defined
anywhere and implementing (or de-implementing) whatever strikes your fancy
on a given day.

Also:

On Sat, Nov 10, 2018 at 4:56 AM Sven Barth via fpc-pascal <
fpc-pascal at lists.freepascal.org> wrote:

> It's not possible to use typed constants as initializers for variables.
>

What are you talking about? Of course that's possible. People do it
literally all the time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20181113/a21d845e/attachment.html>


More information about the fpc-pascal mailing list