[fpc-devel] incompatibility change to default param in trunk?
Sven Barth
pascaldragon at googlemail.com
Thu Feb 13 16:50:07 CET 2014
Am 13.02.2014 15:28, schrieb Martin Frb:
> On 13/02/2014 07:40, Sven Barth wrote:
>> Jonas is currently on vacation and he's the one who implemented it.
>> You could try to crosstest with Delphi to see whether we are missing
>> something.
>
> I only have Turbo Delphi, and that does not seem to have operator
> overloading at all.
I've looked at your example again. I would say it is by design that this
does not work (anymore) as the value of the default parameter is
considered to be a constant expression. You can't use operator overloads
either in const sections.
Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140213/94fc4d28/attachment.html>
More information about the fpc-devel
mailing list