[fpc-pascal] Operator overload resolution with arrays

Maciej Izak hnb.code at gmail.com
Mon Feb 5 14:17:45 CET 2018


2018-02-05 13:59 GMT+01:00 denisgolovan <denisgolovan at yandex.ru>:
>
> Hi, I believe https://bugs.freepascal.org/view.php?id=27690 is all about
> it.
>

IMHO this code shouldn't ever work. Any fix means really mess and hell and
more problems. The proper workaround is:

* use TTriangleIndex inside record with class operator Equal
* use Generics.Collections

-- 
Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180205/76e6c697/attachment.html>


More information about the fpc-pascal mailing list