Am 05.02.2018 um 15:26 schrieb Martok:
> Ah sorry, hadn't seen your message before my last.
> 
>> While specializing the compiler only uses operator overloads (and helpers) 
>> that
>> have been in scope during the declaration of the generic or those that are 
>> part
>> of the types that are used for the specialization. This is definitely 
>> consistent.
> Unintuitive, but consistent, okay.

I only just noticed (and I read that page before writing the first message
here...): the documentation says this is indeed not intentional?

<https://www.freepascal.org/docs-html/ref/refse57.html>
""" Currently, due to an implementation restriction, it will not work using a
global operator, i.e. the following does not work yet:
...
Support for this construct is expected in a future version of Free Pascal."""


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to